[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 12fc0d28fcdeca32314d0755d3b30c7d96907440 by Miss Islington (bot) in branch '3.9': bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) (GH-27443)

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-29 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-29 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset 761c641f19838517bcf8df5b91d2eb46880efe68 by Miss Islington (bot) in branch '3.10': bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) (GH-27442)

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-29 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +25971 pull_request: https://github.com/python/cpython/pull/27442 ___ Python tracker

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +25972 pull_request: https://github.com/python/cpython/pull/27443 ___ Python tracker ___

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-29 Thread Mark Shannon
Mark Shannon added the comment: New changeset e5c8ddb1714fb51ab1defa24352c98e0f01205dc by Serhiy Storchaka in branch 'main': bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) https://github.com/python/cpython/commit/e5c8ddb1714fb51ab1defa24352c98e0f01205dc

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-23 Thread Łukasz Langa
Łukasz Langa added the comment: I'm still unable to reproduce this locally. Objects/listobject.c:527:24 is this line in `list_concat`: dest = np->ob_item + Py_SIZE(a); (permalink: https://github.com/python/cpython/blob/8f42106b5c362495f72c6ca2fa3884538e4023db/Objects/listobject.c#L527)

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-22 Thread Łukasz Langa
Łukasz Langa added the comment: Interestingly I cannot reproduce the clang report on macOS 10.15 with clang 12.0.0. Maybe it's a new capability of clang 12.0.5 in Big Sur. -- nosy: +lukasz.langa ___ Python tracker

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +25835 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27292 ___ Python tracker

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: AFAIK pointer arithmetic with NULL has undefined behavior. There is similar case in list_slice(). -- components: +Interpreter Core nosy: +mark.dickinson, serhiy.storchaka type: -> compile error versions: +Python 3.10, Python 3.11, Python 3.9

[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

2021-07-22 Thread శ్రీనివాస్ రెడ్డి తాటిపర్తి
New submission from Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) : After seeing this issue https://bugs.python.org/issue44698, I wanted to run clang on the main branch (c878f5d81772dc6f718d6608c78baa4be9a4f176) with an undefined option enabled. Is the following a bug or false