Re: [PATCH] nvmecontrol breaks world

From: Ed Schouten <ed_at_80386.nl>
Date: Tue, 2 Jul 2013 22:30:53 +0200
2013/7/2 Steve Kargl <sgk_at_troutmask.apl.washington.edu>:
> Could someone (this could even be me, but need approval) please
> fix nvmecontrol?

off_t doesn't need to be intmax_t, right? Maybe add an explicit cast?
Also, the call of malloc(sb.st_size) is not really safe...


--
Ed Schouten <ed_at_80386.nl>
Received on Tue Jul 02 2013 - 18:30:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC