[sr-dev] [kamailio/kamailio] [kamailio 5.6.0~rc1] Possible regression for {s.int} (Issue #3116)

Daniel-Constantin Mierla notifications at github.com
Thu May 19 08:14:03 CEST 2022

During the past year there were a lot of checks added to detect out of bounds value (reported by fuzzing and static analysis) because they can have unexpected behaviour as per C specs and may result in security issues, although some compilers/architectures handle them smoothly. The changes were done in the common functions located in the core.

In this particular case, it makes checks that the value is in between INT_MIN and INT_MAX (which should be -2147483648 and 2147483647).

Maybe it would be better to understand what you need and decide what is the better option for it. The example is like converting string to int and then the resulting int back to string in order to print it, which sounds useless, but can be just as an example here.

Reply to this email directly or view it on GitHub:
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3116/1131258777 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220518/4711fa19/attachment.htm>

More information about the sr-dev mailing list