]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dracut-install): tweaks to get_real_file()
authorZoltán Böszörményi <zboszor@gmail.com>
Sun, 18 Jul 2021 08:28:37 +0000 (10:28 +0200)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 19 Jul 2021 19:39:57 +0000 (19:39 +0000)
commit1beeaf3b71aed763d5fc7a9ee044d675f8906e8c
tree6c2d2c6e7c68267d96f38a658d4e54f6dcd66042
parent6c71ba4121ae64ccd13fefba68ca327ac623810f
fix(dracut-install): tweaks to get_real_file()

Fix potential memory leaks in two locations and use
_exit(EXIT_FAILURE) if asprintf(&abspath, ...) fails.

Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
src/install/dracut-install.c