On 08.10.21 10:07, Michael Adler wrote: >> Can't we drop the LONG_* tests then? > > I don't think so, INT_MAX could be the same value as LONG_MAX (same for _MIN). >
Maybe time to rethink what we are checking here: Is LONG_MAX/MIN supposed to catch overflows? Those are already reported by errno. Jan -- Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux -- 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/4f42c93c-d0b3-7694-974e-ca4a964e0877%40siemens.com.
