]> git.ipfire.org Git - thirdparty/systemd.git/commit
efivars: validate we are actually talking about a regular file
authorLennart Poettering <lennart@poettering.net>
Thu, 13 Nov 2025 11:33:12 +0000 (12:33 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 13 Nov 2025 13:19:29 +0000 (14:19 +0100)
commit40cb2aa4f81b6b2af198f7c645abbf4f549c0f2e
treedbf1e49f44ab7f7bb1641e2904e551b4d153a3c8
parentab69a04600fd34c152c44be6864eb3bc64568e17
efivars: validate we are actually talking about a regular file

We already have the stat data, let's actually check if things are
alright before relying on .st_size
src/basic/efivars.c