[OpenSIPS-Devel] [OpenSIPS/opensips] 70ca16: Work around a few poor compiler warnings
Liviu Chircu
noreply at github.com
Wed Apr 24 06:03:07 EDT 2019
Branch: refs/heads/2.4
Home: https://github.com/OpenSIPS/opensips
Commit: 70ca1636bbbc749cd738260ea442914e7c97dc46
https://github.com/OpenSIPS/opensips/commit/70ca1636bbbc749cd738260ea442914e7c97dc46
Author: Walter Doekes <walter+github at wjd.nu>
Date: 2019-04-23 (Tue, 23 Apr 2019)
Changed paths:
M modules/rabbitmq/rmq_servers.c
M modules/sip_i/isup.c
M modules/siptrace/siptrace.c
M modules/usrloc/dlist.c
Log Message:
-----------
Work around a few poor compiler warnings
Like:
dlist.c: In function ‘get_all_ucontacts’:
dlist.c:759:37: error: ‘next_hop_host’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
And:
In function ‘memcpy’,
inlined from ‘get_domain_db_ucontacts’ at dlist.c:294:4:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:34:10: error:
‘__builtin_memcpy’: specified size between 18446744071562067968 and
18446744073709551615 exceeds maximum object size 9223372036854775807
[-Werror=stringop-overflow=]
And one probable bug:
b2b_logic.c: In function ‘mi_b2b_list’:
b2b_logic.c:1548:10: error: ‘server_item’ may be used uninitialized in this
function [-Werror=maybe-uninitialized]
^- should be client_item
(cherry-picked from 94c50b781)
Commit: 37e732d52dfbda568f1604859fa6c6bdc98cec60
https://github.com/OpenSIPS/opensips/commit/37e732d52dfbda568f1604859fa6c6bdc98cec60
Author: Liviu Chircu <liviu at opensips.org>
Date: 2019-04-24 (Wed, 24 Apr 2019)
Changed paths:
M modules/rabbitmq/rmq_servers.c
M modules/sip_i/isup.c
M modules/siptrace/siptrace.c
M modules/usrloc/dlist.c
Log Message:
-----------
Merge pull request #1675 from wdoekes/fix-compiler-warnings-2.4
Work around a few poor compiler warnings (2.4 branch)
Compare: https://github.com/OpenSIPS/opensips/compare/f1c5a7ea3c1c...37e732d52dfb
More information about the Devel
mailing list