[OpenSIPS-Devel] [OpenSIPS/opensips] ed12eb: Fix reverse_hex2int64() prototype
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Jan 30 08:03:37 EST 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: ed12eb97c06a23491c8b831124600361b0b63f2f
https://github.com/OpenSIPS/opensips/commit/ed12eb97c06a23491c8b831124600361b0b63f2f
Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: 2018-01-30 (Tue, 30 Jan 2018)
Changed paths:
M modules/nathelper/sip_pinger.h
M ut.h
Log Message:
-----------
Fix reverse_hex2int64() prototype
As the computed value is an unsigned (as data size), it cannot be returned as int as it will overflow and get converted to a negative value. This will colide with the negative error ret code -1
More information about the Devel
mailing list