]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
Check the return code of snprintf in utils.c:rmtree
authorMichael Marley <michael@michaelmarley.com>
Sun, 12 Dec 2021 01:56:54 +0000 (20:56 -0500)
committerFlole998 <Flole998@users.noreply.github.com>
Sun, 12 Dec 2021 22:08:16 +0000 (23:08 +0100)
commit6f3b31043d89324c6b406286c1561ca0a213ba48
tree72134d22d851bbac0c23e47f3f3523b0a702161b
parent9ed7d10ac2e895080d08587048ac5a24a2f9fae3
Check the return code of snprintf in utils.c:rmtree

And return -ENAMETOOLONG if the string overflowed.  This fixes the
FTBFS on s390x with recent glibc/gcc versions.

This fixes #5949.
src/utils.c