diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-03-29 08:09:52 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-03-29 08:20:09 +0100 |
| commit | 6e4839d3566bbabd30d0d15b4edb820d4d4b042f (patch) | |
| tree | 8f277c6cf03cbc27ce04d71120783c8b601d8a65 /util/sbase/pwd.c | |
| parent | 909b321f3a834dbcccf884bc8206a3fe7f1af149 (diff) | |
libreboot-utils: simplify lbgetprogname
make it more reliable; it can't segfault
now, under any circumstance. not even
once.
the problem arised when lbsetname was not
called in a program, before calling the
function: lbgetprogname. a segfault would
occur, due to it being NULL.
not every os/libc has getprogname, so i have
my own implementation.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/pwd.c')
0 files changed, 0 insertions, 0 deletions
