diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-04-17 23:19:16 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-04-17 23:19:16 +0200 |
commit | 15d28c8ce0a7f2d59edd7f068e931041d68511e2 (patch) | |
tree | c38df55f14d7efa41c23b6b85b9e7021c32dee03 /libc/stdlib/malloc/heap_debug.c | |
parent | 521d842a5e8722496911d12153a183af088b9322 (diff) |
locale: avoid segfault freelocale()
PR 4964
Eric Nadler writes:
It looks to me like the base structure is not fully initialized
with 0 (only a subset of the structure is initialized).
This later results in a free of base->collate.index2weight in
_locale_set_l.
This free tries to free uninitialized memory and segfaults.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/stdlib/malloc/heap_debug.c')
0 files changed, 0 insertions, 0 deletions