summaryrefslogtreecommitdiff
path: root/include/mrc.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-15 01:06:36 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-15 01:06:36 +0000
commitf509c87d045654269cc1692a209d7213d673c1dc (patch)
tree2a075d8a211469db7ad782a18f5998ff9d4312c0 /include/mrc.sh
parent7bd1e551d8680e782361742840fee372f6fb068a (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 'include/mrc.sh')
0 files changed, 0 insertions, 0 deletions