New submission from Srinivas Reddy Thatiparthy(శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreeni...@gmail.com>:
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 positive? Objects/listobject.c:527:24: runtime error: applying zero offset to null pointer SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior Objects/listobject.c:527:24 in Steps to reproduce. 1. export CC="/usr/bin/clang -fsanitize=undefined" 2. ./configure --with-pydebug --with-openssl=$(brew --prefix openssl) 3. make -j Meta : ➜ clang --version Apple clang version 12.0.5 (clang-1205.0.22.9) Target: x86_64-apple-darwin20.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin ➜ uname -a Darwin Srinivass-MBP.Dlink 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64 ---------- messages: 397978 nosy: thatiparthy priority: normal severity: normal status: open title: runtime error: applying zero offset to null pointer in Objects/listobject.c _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44707> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com