Hi Jan,

> Maybe time to rethink what we are checking here: Is LONG_MAX/MIN
> supposed to catch overflows? Those are already reported by errno.

you are right, good point. There was another corner case missing which I have 
also added.

Since the patch is so small I won't start a new thread for v2, I hope that's 
fine with you.

Michael Adler (1):
  parse_int: fix overflow detection

 tools/bg_setenv.c | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

-- 
2.33.0

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20211008091438.647129-1-michael.adler%40siemens.com.

Reply via email to