CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2016/05/17 16:03:18
Modified files: lib/libc/regex : engine.c Log message: 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>.