tclOO.c: initialize fakeObject.refCount
Closed / Fixed7b3167723541619787866258e238cc44122b40afCreated 3 years agoUpdated 3 years ago
Descriptionwiki2023-10-01 19:06:05
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)
Referenced by2
cf08224dcbMerge [22c1cb78ba21f9d5]: Fix [7b31677235]: tclOO.c: initialize fakeObject.refCount. check-in2024-08-22 17:29:13876fb786a3Fix [7b31677235]: tclOO.c: initialize fakeObject.refCount check-in2023-10-01 19:24:38
jan.nijtmanswiki2023-10-01 19:47:52
Fixed [here]. Many thanks!
Log in (anonymous is fine) to add a comment.
Attachments:
- 7b31677235-8.7.diff [download] added by chrstphrchvz on 2023-10-01 19:10:10. [details]
- 7b31677235-8.6.diff [download] added by chrstphrchvz on 2023-10-01 19:07:10. [details]