Microsoft ODBC bug
Herwin Weststrate
herwin at quarantainenet.nl
Fri Jun 21 16:29:54 CEST 2019
On 21-06-19 16:27, Dom Latter wrote:
>> Maybe if it was 256, or 2^16 or 2^31. But a 5-digit number? WTF.
>
> Indeed. But four digits = four 8 byte characters = 32 bits.
>
> And five makes 40 bits. Hence by some amazingly flawed logic,
> 9999 is fine, and 10000 is "too big to go in an int".
>
> And that is the only plausible explanation I can think of.
>
> As I said, I would love to see the source code behind this...
Out of curiosity, does -999 work, and does -1000 fail?
--
Herwin Weststrate
More information about the Freeradius-Users
mailing list