diff options
author | mdejong <mdejong@noemail.net> | 2002-06-15 21:06:06 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2002-06-15 21:06:06 (GMT) |
commit | 8061347e50433833eb64f874be61ff4f912194ba (patch) | |
tree | 5938553c12d20382fde16b9754ecd66b73b2ee85 /ChangeLog | |
parent | 87f74904ef626f85b77c33424973ae7896344e58 (diff) | |
download | tk-8061347e50433833eb64f874be61ff4f912194ba.zip tk-8061347e50433833eb64f874be61ff4f912194ba.tar.gz tk-8061347e50433833eb64f874be61ff4f912194ba.tar.bz2 |
* generic/tkWindow.c (Tk_DestroyWindow): Set the pathName
component of a window to NULL after its memory has been
deallocated to avoid a possible illegal memory access
as a result of a call to Tk_PathName() on a Tk_Window
structure of a window that has already been destroyed.
[Tk bug 521946]
FossilOrigin-Name: b0622bc882ffe5036314560dd0c4678f2ad3ee92
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,5 +1,14 @@ 2002-06-14 Mo DeJong <mdejong@users.sourceforge.net> + * generic/tkWindow.c (Tk_DestroyWindow): Set the pathName + component of a window to NULL after its memory has been + deallocated to avoid a possible illegal memory access + as a result of a call to Tk_PathName() on a Tk_Window + structure of a window that has already been destroyed. + [Tk bug 521946] + +2002-06-14 Mo DeJong <mdejong@users.sourceforge.net> + * generic/tkOption.c (Tk_GetOption): Allocate memory with ckalloc not malloc. This keeps Tk from erroring out when built with |