Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
and return a meaningful exit code.
|
|
|
|
|
|
calloc is faster for big allocations. It's also simpler.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
[clang-tidy] Found with bugprone-suspicious-string-compare
Signed-off-by: Rosen Penev <rosenp@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
memory leaks on error
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|