diff options
author | Chad MILLER <chad@mysql.com> | 2009-03-17 15:31:07 -0400 |
---|---|---|
committer | Chad MILLER <chad@mysql.com> | 2009-03-17 15:31:07 -0400 |
commit | 95618bb3f3c2dd8c9f0f760ef36e638096166138 (patch) | |
tree | 18a4f890bbe4f38dea40132f86614397317f5f63 /tests | |
parent | 16d13fe521fa6a7f18af53bca44a80b45be58471 (diff) | |
download | mariadb-git-95618bb3f3c2dd8c9f0f760ef36e638096166138.tar.gz |
Bug#42675: Dangling pointer leads to a client crash (mysys/my_error.c \
patch enclosed)
One call to my_error_unregister_all() would free pointers, but leave one
pointer to just-freed memory still assigned. That's the bug. Subsequent
calls of this function would try to follow pointers into deallocated,
garbage memory and almost certainly SEGV.
Now, after freeing a linked list, unset the initial pointer.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions