diff options
author | sbruno <sbruno@FreeBSD.org> | 2016-07-22 03:26:01 +0000 |
---|---|---|
committer | sbruno <sbruno@FreeBSD.org> | 2016-07-22 03:26:01 +0000 |
commit | 7a0632638b915e94b08bea034bdfd2e61b035263 (patch) | |
tree | a9a634e31a5b7bd31ffc36d7252d934679968819 /contrib/diff/src/ifdef.c | |
parent | 9547b1a0b336439094080e9f10f41f8f110b262e (diff) | |
download | FreeBSD-src-7a0632638b915e94b08bea034bdfd2e61b035263.zip FreeBSD-src-7a0632638b915e94b08bea034bdfd2e61b035263.tar.gz |
MFC r300612
Reject ioctl commands for FLSHGCHR and FLSHPCHR if the size is greater
than sc->areq. This is a bounds check to ensure we're not just cramming
arbitrarily sized nonsense into the driver and overflowing the heap.
PR: 209545
Diffstat (limited to 'contrib/diff/src/ifdef.c')
0 files changed, 0 insertions, 0 deletions