Overview
| Artifact ID: | 700bbd9f8ced95f239fd779f81b1837e1eb934201332cef6be73799f6cd63e61 |
|---|---|
| Ticket: | 8dd2807066d7cc4d8604164f39b7f0d65c0dc321
bug in single-argument 'max' with bignums |
| User & Date: | apnadkarni on 2025-11-10 16:00:23 |
Changes
- icomment:
I'm confused by what commit the comments here are referring to. Does anyone see problems with the tip of the [bug-8dd28070] branch? It passes both the original report as well @emiliano's example. Regarding Sergey's and Emiliano's query - in Sergey's case, the passed in valuePtr (== value2Ptr) have reference counts of 3. Does the Tcl_Obj is not emptied by Tcl_TakeBignumFromObj. In the original report and Emiliano's expr {max(abs($a))} example, the reference count is 1, so the object gets emptied on value1 resulting in a crash on value2 manipulation. - login: "apnadkarni"
- mimetype: "text/x-fossil-plain"