summaryrefslogtreecommitdiff
path: root/util/sbase/kill.c
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-15 01:06:36 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-26 06:59:41 +0000
commit8d81e8f68bd5c5af0bf67ae68ea0364773d237b9 (patch)
treef662db2582838786b440faeee58e53202925eb3f /util/sbase/kill.c
parentd148985e61731ca2c52149ae154cd73d00eca4bb (diff)
util/nvmutil: prevent underflow in comparison
we already check before that rv is not negative, and it starts at zero, but it's good to guard it here just in case (for future re-factoring). if rv is negative, it could convert (casted to size_t) to a huge number (we don't want that). Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/sbase/kill.c')
0 files changed, 0 insertions, 0 deletions