diff options
author | Nikias Bassen | 2017-01-18 15:44:51 +0100 |
---|---|---|
committer | Nikias Bassen | 2017-01-18 15:44:51 +0100 |
commit | 7391a506352c009fe044dead7baad9e22dd279ee (patch) | |
tree | f6240301d10d69300a68228c529c3bc6413aa101 /libcnary/iterator.c | |
parent | 7a28a14cf6ed547dfd2e52a4db17f47242bfdef9 (diff) | |
download | libplist-7391a506352c009fe044dead7baad9e22dd279ee.tar.gz libplist-7391a506352c009fe044dead7baad9e22dd279ee.tar.bz2 |
plistutil: Prevent OOB heap buffer read by checking input size
As pointed out in #87 plistutil would do a memcmp with a heap buffer
without checking the size. If the size is less than 8 it would read
beyond the bounds of this heap buffer. This commit prevents that.
Diffstat (limited to 'libcnary/iterator.c')
0 files changed, 0 insertions, 0 deletions