summaryrefslogtreecommitdiffstats
path: root/contrib/diff/src/side.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2016-09-06 00:32:33 +0000
committerache <ache@FreeBSD.org>2016-09-06 00:32:33 +0000
commitca95b01236de914608be599cb0118e3b4d0e7fad (patch)
treef49bc47803f9ba4e28bf02da5f493693f306f786 /contrib/diff/src/side.c
parent6da7f85311d66f5b649b451d176a99d6daa05f54 (diff)
downloadFreeBSD-src-ca95b01236de914608be599cb0118e3b4d0e7fad.zip
FreeBSD-src-ca95b01236de914608be599cb0118e3b4d0e7fad.tar.gz
MFC r305365
The bug: $ echo x | awk '/[[:cntrl:]]/' x The NUL character in cntrl class truncates the pattern, and an empty pattern matches anything. The patch skips NUL as a quick fix. PR: 195792 Submitted by: kdrakehp@zoho.com Approved by: bwk@cs.princeton.edu (the author)
Diffstat (limited to 'contrib/diff/src/side.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud