Age | Commit message (Collapse) | Author | Files | Lines |
|
the format parses
This makes the `-d` option work in plistutil that wasn't doing anything
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|