[sr-dev] [kamailio/kamailio] warning cleanup (#2298)

Daniel-Constantin Mierla notifications at github.com
Mon Apr 27 12:30:38 CEST 2020


I pushed patches for those warnings. The one of app_python is to disable the check, on the web people say python2 is known not to handle strict aliasing and being end-of-life, I guess is no chance to fix in the libs.

For pdb: @henningw, @lbalaceanu & @smititelu - you are likely the devs familiar with the code, can you check the commit 86ebb4e and see if it is an acceptable solution? The idea was to get the `short int` value from the two consecutive bytes in the char buffer, to avoid reading from an unaligned memory address when `buflen` is not round of 4 or 8. I see there is also conversion from network to host, so it is better you have a look, not to let this change go somehow unnoticed.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2298#issuecomment-619890010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200427/883ea042/attachment.html>


More information about the sr-dev mailing list