summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tzsetup
diff options
context:
space:
mode:
authortruckman <truckman@FreeBSD.org>2016-05-26 01:33:24 +0000
committertruckman <truckman@FreeBSD.org>2016-05-26 01:33:24 +0000
commit258d969a37a15bb8c9793035ccdb7fae5e5699fb (patch)
treeb588a2bc8715881f367d7c229d5b653d04c4d584 /usr.sbin/tzsetup
parenteaf1e1649149676f6087590e0b83fa23c961daa9 (diff)
downloadFreeBSD-src-258d969a37a15bb8c9793035ccdb7fae5e5699fb.zip
FreeBSD-src-258d969a37a15bb8c9793035ccdb7fae5e5699fb.tar.gz
Avoid buffer overflow when copying the input file name and appending .dat.
Check the return value from fread() to be sure that it was successful. Reported by: Coverity CID: 1006709, 1009452 MFC after: 1 week
Diffstat (limited to 'usr.sbin/tzsetup')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud