[PATCH] nvmecontrol breaks world

Ed Schouten ed at 80386.nl
Tue Jul 2 20:30:53 UTC 2013


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>


More information about the freebsd-current mailing list