Python-cjson

Latest version: v1.2.2

Safety actively analyzes 621064 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.2.2

------------------------

* Fix encoding of UTF-16 surrogate pairs
* Made MANIFEST.in more explicit
* Refactored setup.py to be PEP-8 compliant
* Pass command line arguments from build_inplace to setup.py
* Cleanup after build_inplace
* Explicitly use python2 in shebang lines
* Updated license

1.2.1

------------------------

* Updated project homepage

1.2.0

------------------------

* Implemented recursion limit check for encoding/decoding arrays and objects
* Updated copyright years and stripped licensing info from source code

1.1.0

------------------------

* Use repr instead of str when encoding floats to preserve full preicision
* Fixed windows compilation problem introduced in 1.0.5
* Fixed float write test to work with latest high precision float encoding
* Fixed some list/dict decoding bugs. Use a state machine for decoding them.
* Improved decoding speed by using PyString_GET_SIZE instead of strlen
* Integrate modified 0001-fix-for-CVE-2010-1666 patch from Debian

1.0.5

------------------------

* Check if module initialization failed.
* Removed useless checks on module initialization.
* Added __version__ attribute to the cjson module.
* Call Py_INCREF before calling PyModule_AddObject.

1.0.4

Not secure
------------------------

* Added licensing information.
* Fixed issue with decrementing a string reference too early
(Edouard Hinard <edouard.hinardorange-ftgroup.com>).
* Fixed 64-bit portability problems (based on a modified version of a
patch by David Rushby <davidrushbyyahoo.com>).
* Fixed issue with not returning NULL after setting the OverflowError
when encoded strings would be too big.
* Fixed 2 potential buffer overflow errors when encoding string/unicode
(thanks to Ofer Faigon <ofer3bitformation.com> for pointing them out).
* About 10% speed improvement when encoding/decoding string/unicode.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.