summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2013-05-20 03:15:25 +0000
committerpfg <pfg@FreeBSD.org>2013-05-20 03:15:25 +0000
commita054c02d31fb838c7253c97946fd2ec0d8a0861e (patch)
treeb963ba6ea557123e5eb06e0f4d5f0afe40ff3c50 /sys/dev
parentb3c31e12543c73dcf27340c2dd11d771db4b616a (diff)
downloadFreeBSD-src-a054c02d31fb838c7253c97946fd2ec0d8a0861e.zip
FreeBSD-src-a054c02d31fb838c7253c97946fd2ec0d8a0861e.tar.gz
grep: change some int types.
Change several int variables to size_t, ssize_t, or ptrdiff_t. This should fix the bug described in CVE-2012-5667 when an input line is so long that its length cannot be stored in an int variable. This is based on NetBSD's revision which says: This change to NetBSD's version of GNU grep 2.5.1 (licenced under GPLv2) was made without direct reference to any code licenced under GPLv3. Obtained from: NetBSD MFC after: 3 days
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud