summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2016-05-17 22:03:18 +0000
committerschwarze <schwarze@openbsd.org>2016-05-17 22:03:18 +0000
commit3465aa042d56618335f9d118af231bb11b131d04 (patch)
tree75372f1e0b43c174589f4dedf3f480c7d77df0c9 /sys/kern/tty.c
parentAdd support for passing an FDT. The bootloader will update the "bootargs" (diff)
downloadwireguard-openbsd-3465aa042d56618335f9d118af231bb11b131d04.tar.xz
wireguard-openbsd-3465aa042d56618335f9d118af231bb11b131d04.zip
Fix a one-byte buffer underflow (read access only).
This change touches code that only runs when REG_BASIC is given and the regular expression is anchored with ^ _and_ uses backreferences. The segfault could only be triggered when the ^ anchor was inside a leading () subexpression quantified with *. OK martijn@ Patch also proofread by Pedro Giffuni <pfg at FreeBSD dot org>.
Diffstat (limited to 'sys/kern/tty.c')
0 files changed, 0 insertions, 0 deletions