Module Name: src Committed By: martin Date: Tue Aug 8 16:21:35 UTC 2017
Modified Files: src/sys/compat/ibcs2 [netbsd-8]: ibcs2_exec_coff.c ibcs2_ioctl.c ibcs2_stat.c Log Message: Pull up following revision(s) (requested by spz in ticket #191): sys/compat/ibcs2/ibcs2_ioctl.c: revision 1.46 sys/compat/ibcs2/ibcs2_stat.c: revision 1.50 sys/compat/ibcs2/ibcs2_exec_coff.c: revision 1.27 sys/compat/ibcs2/ibcs2_exec_coff.c: revision 1.28 sys/compat/ibcs2/ibcs2_exec_coff.c: revision 1.29 sys/compat/ibcs2/ibcs2_stat.c: revision 1.49 Check for NUL termination within the buffer we have. >From Ilja Van Sprundel. Make sure we have enough space in the buffer before reading it. >From Ilja Van Sprundel. Make sure we move forward over the buffer. >From Ilja Van Sprundel. Zero buffers in ibcs2 ioctl to avoid disclosing stack to userland. >From Ilja Van Sprundel. Don't drop vnode ref until we're done with mount in ibcs2_stat(v)fs. Nothing else guarantees the mount will stick around. >From Ilja Van Sprundel. Little happy on the commit trigger. Actually use the out label. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.26.22.1 src/sys/compat/ibcs2/ibcs2_exec_coff.c cvs rdiff -u -r1.45 -r1.45.76.1 src/sys/compat/ibcs2/ibcs2_ioctl.c cvs rdiff -u -r1.48 -r1.48.12.1 src/sys/compat/ibcs2/ibcs2_stat.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.