diff options
author | mdejong <mdejong> | 2002-06-15 21:06:07 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2002-06-15 21:06:07 (GMT) |
commit | df16beef2394e43a851c02727b1544950cebee65 (patch) | |
tree | 5938553c12d20382fde16b9754ecd66b73b2ee85 /ChangeLog | |
parent | 92c2dddc8dde11c773828d152e0e49ef9c920be9 (diff) | |
download | tk-df16beef2394e43a851c02727b1544950cebee65.zip tk-df16beef2394e43a851c02727b1544950cebee65.tar.gz tk-df16beef2394e43a851c02727b1544950cebee65.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]
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 |