summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2021-02-06plistutil: Fix stdin input buffer reallocationGravatar Nikias Bassen1-5/+16
2021-01-25Replace malloc + memset with calloc where appropriateGravatar Rosen Penev1-2/+1
calloc is faster for big allocations. It's also simpler. Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-24Improve code readability by using explicit != 0 compare when using strncmpGravatar Rosen Penev1-1/+1
[clang-tidy] Found with bugprone-suspicious-string-compare Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-06-14Add API version to library and pkgconfig file for proper linkingGravatar Nikias Bassen1-1/+1
2020-06-09Unfold automake variables into multiple lines for maintainabilityGravatar Martin Szulecki1-1/+4
2020-06-05plistutil: Update copyright headerGravatar Nikias Bassen1-2/+3
2020-06-05plistutil: Add new "--version" option to output version informationGravatar Nikias Bassen1-0/+6
2020-06-05plistutil: Fix option parsingGravatar Nikias Bassen1-8/+10
2020-06-04Unify plistutil usage output with other tools and add project URLsGravatar Martin Szulecki1-5/+10
2020-06-04Add config.h include to plistutil.cGravatar Martin Szulecki1-0/+3
2020-06-04Replace tabs with correct space indentation in plistutil.cGravatar Martin Szulecki1-10/+10
2020-05-24plistutil: Improve usage text alignmentGravatar Nikias Bassen1-4/+4
2020-05-24plistutil: Added ability to specify output formatGravatar Jaywalker1-8/+59
2020-05-24plistutil: Added ability for files to be read from stdinGravatar Jaywalker1-25/+71
2017-02-07plistutil: Print error message when opening input/output file fails and plug ↵Gravatar Nikias Bassen1-1/+7
memory leaks on error
2017-01-18plistutil: Use plist_is_binary() to check for binary plist dataGravatar Nikias Bassen1-1/+1
2017-01-18plistutil: Prevent OOB heap buffer read by checking input sizeGravatar Nikias Bassen1-0/+6
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.
2015-01-29plistutil: Plug some memory leaksGravatar Nikias Bassen1-2/+6
2015-01-29plistutil: Use static buffer for stat()Gravatar Nikias Bassen1-6/+4
2015-01-23plistutil: Improve error message for a human if input file reading failedGravatar Martin Szulecki1-1/+1
2015-01-23plistutil: Cleanup code style a bit and remove obsolete extra headerGravatar Martin Szulecki3-102/+79
2015-01-23Update and correct some copyright header commentsGravatar Martin Szulecki1-1/+2
2014-02-13Replace some LDADD references to use $(top_builddir) for distcheckGravatar Martin Szulecki1-1/+1
2013-12-13change build system to autotoolsGravatar Nikias Bassen3-0/+200