--- - branch: MAIN date: Sun Jun 24 09:30:26 UTC 2018 files: - new: '1.32' old: '1.31' path: src/lib/libutil/pty.c pathrev: src/lib/libutil/pty.c@1.32 type: modified id: 20180624T093026Z.8ff73332ae6590fbf051440a5915d6a19963c38c log: | 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. module: src subject: 'CVS commit: src/lib/libutil' unixtime: '1529832626' user: kamil