diff options
author | Logan Chien <loganchien@google.com> | 2017-10-16 06:04:34 (GMT) |
---|---|---|
committer | Logan Chien <loganchien@google.com> | 2017-10-16 06:04:34 (GMT) |
commit | 7c80007b55fd42cdd56b06cb4330fb8ceb468e09 (patch) | |
tree | 352bfffc96a13fe85faeaf2c463ca80161e7f3bd /doc | |
parent | 887eccf1fdd91d50c4761bba79b5cf329a280ffb (diff) | |
download | Ninja-7c80007b55fd42cdd56b06cb4330fb8ceb468e09.zip Ninja-7c80007b55fd42cdd56b06cb4330fb8ceb468e09.tar.gz Ninja-7c80007b55fd42cdd56b06cb4330fb8ceb468e09.tar.bz2 |
Fix potential buffer overrun
This commit rearranges record size comparison and fread() to make sure
fread() only reads the data that can fit into the buffer.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions