[Gambas-user] Possible error when doing math on bytes
benoit.minisini at gambas-basic.org
Wed Jan 11 14:44:19 CET 2023
Le 11/01/2023 à 08:09, Benoit Minisini a écrit :
> Le 10/01/2023 à 23:21, Brian G a écrit :
>>> Le 10/01/2023 à 22:48, Brian G a écrit :
>>>> With latest build, both 20.3 and 21.1 work in the same way, looks good.
>>>> Should pointers not behave in the same way?
>>> I don't understand the question...
>>> Benoît Minisini.
>> Pointers are also unsigned values with fixed boundaries, source of
>> many errors
>> dec/inc or add/subtract above or below boundaries should perhaps
>> create an overflow as well
>> What do you thing about including that check?
> Mmm... Logically yes, but I'm not sure that pointers are considered as
> integers by the overflow detection functions. I will check.
By the way, is everything ok for you now? Can I release the 3.18?
More information about the User