diff options
author | truckman <truckman@FreeBSD.org> | 2016-05-26 01:33:24 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2016-05-26 01:33:24 +0000 |
commit | 258d969a37a15bb8c9793035ccdb7fae5e5699fb (patch) | |
tree | b588a2bc8715881f367d7c229d5b653d04c4d584 /usr.sbin/tzsetup | |
parent | eaf1e1649149676f6087590e0b83fa23c961daa9 (diff) | |
download | FreeBSD-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