NetBSD/lib/libutil
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
..
compat
Makefile Document opendisk1() - it has been around long enough. 2018-04-04 04:43:46 +00:00
disklabel_dkcksum.3
disklabel_dkcksum.c
disklabel_scan.3
disklabel_scan.c
efun.3 Bump date for recent changes 2015-07-26 17:37:38 +00:00
efun.c Add ereallocarr(3) to libutil 2015-07-26 02:20:30 +00:00
getbootfile.3
getbootfile.c prefer <sys/cpu.h> instead of <machine/cpu.h> 2016-01-25 18:14:04 +00:00
getbyteorder.3
getbyteorder.c
getdiskrawname.3 Add getdiskcookedname to the NAME section 2017-03-30 19:23:06 +00:00
getdiskrawname.c
getfsspecname.3
getfsspecname.c
getfstypename.3
getlabelsector.3
getlabelsector.c
getmaxpartitions.3
getmaxpartitions.c
getmntopts.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
getmntopts.c
getrawpartition.3
getrawpartition.c
if_media.c
kinfo_getvmmap.3 Add kinfo_getvmmap from FreeBSD 2015-09-24 14:39:20 +00:00
kinfo_getvmmap.c Stop including <sys/user.h> in userland libraries 2017-06-14 12:24:51 +00:00
login.3
login.c
login_cap.3 unsigned -> unsigned int 2016-01-23 07:21:18 +00:00
login_cap.c Correct typos in comments 2015-10-29 20:29:24 +00:00
login_tty.c
loginx.3
loginx.c
logout.c
logoutx.c
logwtmp.c
logwtmpx.c
opendisk.3 Use mdoc macros. 2018-04-05 11:07:00 +00:00
opendisk.c PR/51216: Instead of trying to open files in the current working 2016-06-06 17:50:19 +00:00
openpty.3
parsedate.3 parsedate.y: meaningless KNF of a comment (no code changes) 2017-03-22 18:17:42 +00:00
parsedate.y parsedate.y: meaningless KNF of a comment (no code changes) 2017-03-22 18:17:42 +00:00
passwd.c Prevent underflow buffer read in trim_whitespace() in libutil/passwd.c 2018-06-24 01:53:14 +00:00
pidfile.3 Add missing functions to the NAME section 2017-10-22 16:55:32 +00:00
pidfile.c Removed botched debug left over. 2016-04-12 20:40:43 +00:00
pidlock.3 Sort errors. 2017-10-23 01:05:10 +00:00
pidlock.c
proc_compare.3
pty.c Fix stack use after scope in libutil/pty 2018-06-24 09:30:26 +00:00
pw_getconf.3
pw_init.3 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
pw_lock.3
raise_default_signal.3
raise_default_signal.c
secure_path.3
secure_path.c
shlib_version Bump libutil for new pidfile functions. 2016-04-11 08:44:40 +00:00
snprintb.3 Add snprintb_m to the NAME section. 2017-10-22 16:59:18 +00:00
sockaddr_snprintf.3
sockaddr_snprintf.c Make this portable to other OSs 2016-12-29 18:30:55 +00:00
stat_flags.3
stat_flags.c
strpct.3
strpct.c
ttyaction.3
ttyaction.c
ttymsg.3
ttymsg.c
util.3 Use Sy to highlight the table header. 2017-03-30 20:00:21 +00:00