summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2012-12-21 22:20:59 +0000
committerdelphij <delphij@FreeBSD.org>2012-12-21 22:20:59 +0000
commit23ae20eae272e8a2cfae89d5760be977f0fd4be5 (patch)
tree4f27d8333a4c78806812a23a03d6fda8f53e81a3 /sys/arm
parent68ab69513cc0eb098a3e9819e69f90348a32aa1f (diff)
downloadFreeBSD-src-23ae20eae272e8a2cfae89d5760be977f0fd4be5.zip
FreeBSD-src-23ae20eae272e8a2cfae89d5760be977f0fd4be5.tar.gz
- Reduce buffer size from LINE_MAX to PATH_MAX, there is no point to store
path longer than this. - Fix an unreached case of check against sizeof buf, which in turn leads to an off-by-one nul byte write on the stack. The original condition can never be satisfied because the passed boundary is the maximum value that can be returned, so code was harmless. MFC after: 1 month
Diffstat (limited to 'sys/arm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud