10 Commits

Author SHA1 Message Date
Nikias Bassen eb92931938 plistutil: Print error message when opening input/output file fails and plug memory leaks on error 2017-02-07 02:17:55 +01:00
Nikias Bassen b32194d96e plistutil: Use plist_is_binary() to check for binary plist data 2017-01-18 15:46:27 +01:00
Nikias Bassen 7391a50635 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.
2017-01-18 15:44:51 +01:00
Nikias Bassen 2731ec0c47 plistutil: Plug some memory leaks 2015-01-29 00:29:31 +01:00
Nikias Bassen 6693241784 plistutil: Use static buffer for stat() 2015-01-29 00:26:59 +01:00
Martin Szulecki 8ed89366e4 plistutil: Improve error message for a human if input file reading failed 2015-01-23 15:01:17 +01:00
Martin Szulecki 7f28d8f757 plistutil: Cleanup code style a bit and remove obsolete extra header 2015-01-23 15:00:25 +01:00
Martin Szulecki f4caa6a751 Update and correct some copyright header comments 2015-01-23 14:58:16 +01:00
Martin Szulecki 6dcc8c48bb Replace some LDADD references to use $(top_builddir) for distcheck 2014-02-13 18:56:35 +01:00
Nikias Bassen a798afc8b5 change build system to autotools 2013-12-13 00:44:17 +01:00