kamil 171790efcf 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.
2018-06-24 09:30:26 +00:00
..
2018-04-05 11:07:00 +00:00
2017-10-23 01:05:10 +00:00
2018-06-24 09:30:26 +00:00
2017-10-22 16:59:18 +00:00