Module Name:    src
Committed By:   snj
Date:           Sat Aug 12 04:08:26 UTC 2017

Modified Files:
        src/sys/compat/ibcs2 [netbsd-7-0]: ibcs2_exec_coff.c ibcs2_ioctl.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #1477):
        sys/compat/ibcs2/ibcs2_exec_coff.c: revision 1.27-1.29
        sys/compat/ibcs2/ibcs2_ioctl.c: revision 1.46
        sys/compat/ibcs2/ibcs2_stat.c: revision 1.49-1.50
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.8.1 src/sys/compat/ibcs2/ibcs2_exec_coff.c
cvs rdiff -u -r1.45 -r1.45.62.1 src/sys/compat/ibcs2/ibcs2_ioctl.c
cvs rdiff -u -r1.47 -r1.47.40.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.

Reply via email to