Tcl Source Code

View Ticket
Login
Ticket UUID: 7b3167723541619787866258e238cc44122b40a
Title: tclOO.c: initialize fakeObject.refCount
Type: Patch Version: 8.6.13
Submitter: chrstphrchvz Created on: 2023-10-01 19:06:05
Subsystem: 35. TclOO Package Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-10-01 19:47:52
Resolution: Fixed Closed By: jan.nijtmans
    Closed on: 2023-10-01 19:47:52
Description:

See attached patch. Example Valgrind complaint for trunk:

==19831== Conditional jump or move depends on uninitialised value(s)
==19831==    at 0x494FCC0: TclOOAllocClass (tclOO.c:1682)
==19831==    by 0x49412A7: InitClassSystemRoots (tclOO.c:461)
==19831==    by 0x494091A: InitFoundation (tclOO.c:375)
==19831==    by 0x493E269: TclOOInit (tclOO.c:250)
==19831==    by 0x42DC898: Tcl_CreateInterp (tclBasic.c:1262)
==19831==    by 0x804920C: main (tclAppInit.c:94)

User Comments: jan.nijtmans added on 2023-10-01 19:47:52:

Fixed [876fb786a3|here]. Many thanks!


Attachments: