[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 669429fb583031c7c87392e30b065e99a2d8ccda by Berker Peksag (Miss Islington (bot)) in branch '2.7': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/669429fb583031c7c87392e30b065e99a2d8ccda

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: Thanks, Alexey! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 6d726868cd1743623a28b8e048e31b9c3c52a399 by Berker Peksag (Miss Islington (bot)) in branch '3.6': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/6d726868cd1743623a28b8e048e31b9c3c52a399

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset ec4d099b9f1951b08d1a53181c278173ff6a0cc1 by Berker Peksag (Miss Islington (bot)) in branch '3.7': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/ec4d099b9f1951b08d1a53181c278173ff6a0cc1

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8663 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8661 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +8662 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Berker Peksag
Berker Peksag added the comment: New changeset 6f82bffd2df63a4072b3f0483cdbe93ddedb87e9 by Berker Peksag (Alexey Izbyshev) in branch 'master': bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225) https://github.com/python/cpython/commit/6f82bffd2df63a4072b3f0483cdbe93ddedb87e9 -

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Alexey Izbyshev
Change by Alexey Izbyshev : -- keywords: +patch pull_requests: +8656 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue34649] Modules/_json.c: Missing NULL checks in _encoded_const()

2018-09-12 Thread Alexey Izbyshev
New submission from Alexey Izbyshev : The return value of PyUnicode_InternFromString() is not checked for NULL and then dereferenced at three places in https://github.com/python/cpython/blob/0bd1a2dcfdf36b181385ae61361e7692f4ebb0fd/Modules/_json.c#L1369 Reported by Svace static analyzer. ---