]> Savannah Git Hosting - gnulib.git/commit
fts: fail gracefully when out of memory
authorChuanGang Jiang <jiangchuanganghw@outlook.com>
Mon, 27 Feb 2023 11:46:12 +0000 (11:46 +0000)
committerBruno Haible <bruno@clisp.org>
Thu, 2 Mar 2023 21:07:25 +0000 (22:07 +0100)
commita9cd3ebf6968db76582461c34fc37b99636dfe82
treecbdae52c59d75557f3978e3e752d7f54114bc5f3
parent2b0bc33c636d71bd7fa1258289d3379fb810c8c5
fts: fail gracefully when out of memory

* lib/fts.c (fts_read): Set errno==ENOMEM and return NULL
when setup_dir() fails, rather than hitting an assertion later.
ChangeLog
lib/fts.c