mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-10 11:20:10 +00:00
Fix memory leak in stdlib/isomac.c
This commit is contained in:
parent
3932737df1
commit
34829bc28f
@ -1,5 +1,8 @@
|
||||
2013-09-09 Allan McRae <allan@archlinux.org>
|
||||
|
||||
[BZ #15893]
|
||||
* stdlib/isomac.c (get_null_defines): Fix memory leak.
|
||||
|
||||
[BZ #15892]
|
||||
* libio/memstream.c (open_memstream): Fix memory leak.
|
||||
* libio/wmemstream.c (open_wmemstream): Likewise.
|
||||
|
3
NEWS
3
NEWS
@ -10,7 +10,8 @@ Version 2.19
|
||||
* The following bugs are resolved with this release:
|
||||
|
||||
14155, 14699, 15427, 15522, 15531, 15532, 15736, 15749, 15797, 15844,
|
||||
15867, 15886, 15887, 15890, 15892, 15895, 15897, 15905, 15909, 15921.
|
||||
15867, 15886, 15887, 15890, 15892, 15893, 15895, 15897, 15905, 15909,
|
||||
15921.
|
||||
|
||||
* CVE-2013-4237 The readdir_r function could write more than NAME_MAX bytes
|
||||
to the d_name member of struct dirent, or omit the terminating NUL
|
||||
|
@ -263,6 +263,7 @@ get_null_defines (void)
|
||||
if (system (command))
|
||||
{
|
||||
puts ("system() returned nonzero");
|
||||
free (command);
|
||||
return NULL;
|
||||
}
|
||||
free (command);
|
||||
|
Loading…
Reference in New Issue
Block a user