Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-8] src/lib/libutil
Module Name: src
Committed By: martin
Date: Thu Jul 12 15:24:43 UTC 2018
Modified Files:
src/lib/libutil [netbsd-8]: pty.c
Log Message:
Pull up following revision(s) (requested by kamil in ticket #901):
lib/libutil/pty.c: revision 1.32
Fix stack use after scope in libutil/pty
The pt variable's elements are used after the end of the pt scope.
A move of pt to outer scope fixes this.
Detected with MKSANITIZER/ASan with tmux(1), a forkpty(3) user.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.31.38.1 src/lib/libutil/pty.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index