Stop using alloca
* gnulib.modules: Remove alloca. * src/create.c (dump_file0): Return address of any allocated storage. Caller changed to free it. Use xmalloc instead of alloca, to obtain this storage. * src/list.c (from_header): Use quote_mem instead of quote, removing the need to use alloca.
This commit is contained in:
6
NEWS
6
NEWS
@@ -1,4 +1,4 @@
|
||||
GNU tar NEWS - User visible changes. 2023-08-01
|
||||
GNU tar NEWS - User visible changes. 2023-08-02
|
||||
Please send GNU tar bug reports to <bug-tar@gnu.org>
|
||||
|
||||
version TBD
|
||||
@@ -24,6 +24,10 @@ as argument to --mtime option (see GNU tar manual, chapter 4
|
||||
Defines output format for the COMMAND set by the above option. If
|
||||
used, command output will be parsed using strptime(3).
|
||||
|
||||
* Bug fixes
|
||||
|
||||
** tar no longer uses alloca, fixing an unlikely stack overflow.
|
||||
|
||||
|
||||
version 1.35 - Sergey Poznyakoff, 2023-07-18
|
||||
|
||||
|
||||
Reference in New Issue
Block a user