Overview
| Artifact ID: | 32e0e046008c91bcbd4053eacd3f761c3b626266427944b85e02636af032a5c1 |
|---|---|
| Ticket: | 983f933f114af3a77d9df39359205811637ee2c2
source test triggers undefined behavior |
| User & Date: | apnadkarni on 2025-12-28 05:13:48 |
Changes
- icomment:
Christopher, Could you please retest with the bug-983f933f11 branch? I could not verify myself as I could not reproduce the warnings. What were the configure flags used? I tried the following and could not reproduce the error on Ubuntu 20. ``` ../../configure CFLAGS="-fsanitize=undefined,pointer-overflow" LDFLAGS="-fsanitize=undefined,pointer-overflow" make -s shell make -s test TESTFLAGS='-f source.test' ``` Also, I presume you were using the trunk for the build (the ticket says core-8-6-branch) but the stack dump shows 9.1. With regards to your proposed patch, it may fix the warnings in this case but not in cases where `Tcl_ExternalToUtfDString` is called with NULL pointers from elsewhere so not sure if it is adequate. Fixing `Tcl_ETUDS` feels safer assuming the branch resolves the issue.
- login: "apnadkarni"
- mimetype: "text/x-markdown"