[issue41175] Static analysis issues reported by GCC 10

2020-07-10 Thread miss-islington
miss-islington added the comment: New changeset 51b36ed96d29c9440fbca18fb0c9e3087f763da5 by Miss Islington (bot) in branch '3.9': bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240)

[issue41175] Static analysis issues reported by GCC 10

2020-07-10 Thread miss-islington
miss-islington added the comment: New changeset 33672c019179be279ae979f709c974593fbbbe84 by Miss Islington (bot) in branch '3.8': bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240)

[issue41175] Static analysis issues reported by GCC 10

2020-07-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +20579 pull_request: https://github.com/python/cpython/pull/21432 ___ Python tracker ___

[issue41175] Static analysis issues reported by GCC 10

2020-07-10 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +20578 pull_request: https://github.com/python/cpython/pull/21431 ___ Python tracker

[issue41175] Static analysis issues reported by GCC 10

2020-07-08 Thread STINNER Victor
STINNER Victor added the comment: New changeset 61fc23ca106bc82955b0e59d1ab42285b94899e2 by stratakis in branch 'master': bpo-41175: Guard against a NULL pointer dereference within bytearrayobject (GH-21240) https://github.com/python/cpython/commit/61fc23ca106bc82955b0e59d1ab42285b94899e2

[issue41175] Static analysis issues reported by GCC 10

2020-07-02 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41175] Static analysis issues reported by GCC 10

2020-06-30 Thread Charalampos Stratakis
Change by Charalampos Stratakis : -- keywords: +patch pull_requests: +20392 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21240 ___ Python tracker

[issue41175] Static analysis issues reported by GCC 10

2020-06-30 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: First issue in Objects/bytearrayobject.c [0]. warning: use of NULL ‘’ where non-null expected [CWE-690] [-Wanalyzer-null-argument] 277 | memcpy(result->ob_bytes, va.buf, va.len); [0]

[issue41175] Static analysis issues reported by GCC 10

2020-06-30 Thread Charalampos Stratakis
New submission from Charalampos Stratakis : GCC added a static analysis tool recently [0]. Running it under for CPython code base produces some interesting results. Reproducer: ./configure --with-pydebug && CFLAGS='-fanalyzer' make Attaching the log. [0]