https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209113
rday <r...@ryanday.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |r...@ryanday.net --- Comment #1 from rday <r...@ryanday.net> --- Created attachment 172625 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172625&action=edit Fix for 209113 A problem existed where a g_malloc call would allocate a buffer length specified by a 32 bit integer. Then copyin would write a 64 bit integer worth of data into the buffer. By changing g_malloc()'s len argument to be a size_t (matching malloc) the buffer will always be large enough for copyin. It is still possible to hang the process while waiting for a large enough allocation, so the M_NOWAIT flag has replaced the M_WAITOK flag. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ freebsd-geom@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-geom To unsubscribe, send any mail to "freebsd-geom-unsubscr...@freebsd.org"