Re: [PATCH] nvmecontrol breaks world

看板FB_current作者時間12年前 (2013/07/03 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/5 (看更多)
On Tue, Jul 02, 2013 at 10:30:53PM +0200, Ed Schouten wrote: > 2013/7/2 Steve Kargl <sgk@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... > jimharris committed the patch. I suspect that this is intel code, which needs to be portable to other OS's. Hopefully, he fixes the build soon. -- Steve _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1HqsBoLo (FB_current)
文章代碼(AID): #1HqsBoLo (FB_current)