[email protected] (Jérémie Courrèges-Anglas) writes: [...]
>>> len = read(fd, &footer, sizeof(struct prebind_footer));
>>> + if (len >= -1 && len < sizeof(struct prebind_footer)) {
>>
>> I think this condition is incorrect.
>
> It checks whether len is in the [-1; 80] range.
Err, [-1; 79] (inclusive). No idea about the correct math
representation in other countries.
--
Jérémie Courrèges-Anglas
PGP Key fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494
