]> Savannah Git Hosting - gnulib.git/commit
supersede: Fix crash when malloc() fails.
authorBruno Haible <bruno@clisp.org>
Fri, 30 Apr 2021 23:03:41 +0000 (01:03 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 30 Apr 2021 23:04:23 +0000 (01:04 +0200)
commit751e83501400fa62d3e9834da0cf91f2d145e1d2
tree87bcc870cfbc203f82005578296272edeb8d655b
parentafeeb21058d15e5250fff9fbea2c1fec011c061a
supersede: Fix crash when malloc() fails.

Found by GCC 11 '-fanalyzer'.

* lib/supersede.c (create_temp_file): Don't crash when malloc() fails.
ChangeLog
lib/supersede.c