diff options
author | ngie <ngie@FreeBSD.org> | 2017-01-13 08:51:43 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-01-13 08:51:43 +0000 |
commit | b3834c3ad55acf61be5dabbc5ce2444031ec733d (patch) | |
tree | 42bbd65352dca9feddda0b9a129f2accb81c9590 /Makefile | |
parent | 116e56212cda03ba3a2b1fdb0ed5dc4df6f89a48 (diff) | |
download | FreeBSD-src-b3834c3ad55acf61be5dabbc5ce2444031ec733d.zip FreeBSD-src-b3834c3ad55acf61be5dabbc5ce2444031ec733d.tar.gz |
MFC r311290,r311293,r311294:
r311290:
Use strlcpy instead of strcpy when copying the bridge name to ifr.ifr_name
to avoid buffer overflows
CID: 1006735, 1006737, 1006738
r311293:
bridge_do_pfctl: allocate mib_name dynamically using asprintf
This is being done to reduce wasted space, simplify complexity in
the code, and to quell a Coverity warning about buffer overruns.
warning about buffer overruns.
CID: 1006736
r311294:
style cleanup
- bridge_pf_dump: use nitems instead of spelling it out longhand
- bridge_do_pfctl: sort variables by alignment for type
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions