time64/ctime64_r: localtime64_r can fail

In ctime64_r, the call to localtime64_r can fail.  If we don't check for
this and then call asctime64_r, the results are garbage.

Signed-off-by: Derrick Lyndon Pallas <derrick@pallas.us>
1 file changed
tree: dd7e3ea66cf057947325c533da1830009e95bac1
  1. .github/
  2. cython/
  3. fuzz/
  4. include/
  5. libcnary/
  6. m4/
  7. src/
  8. test/
  9. tools/
  10. .gitignore
  11. AUTHORS
  12. autogen.sh
  13. configure.ac
  14. COPYING
  15. COPYING.LESSER
  16. doxygen.cfg.in
  17. Makefile.am
  18. NEWS
  19. README.md
README.md

libplist

About

A small portable C library to handle Apple Property List files in binary or XML.

Requirements

Software:

  • make
  • autoheader
  • automake
  • autoconf
  • libtool
  • pkg-config
  • gcc or clang

Optional:

  • cython (Python bindings)
  • doxygen (Documentation)

Installation

To compile run:

./autogen.sh
make
sudo make install

If you require a custom prefix or other option being passed to ./configure you can pass them directly to ./autogen.sh like this:

./autogen.sh --prefix=/opt/local --without-cython
make
sudo make install

Who/What/Where?

Credits

Apple, iPhone, iPod, and iPod Touch are trademarks of Apple Inc. libimobiledevice is an independent software library and has not been authorized, sponsored, or otherwise approved by Apple Inc.

README Updated on: 2019-05-16