Build: #15 was successful Manual run by Andrey Volk
Code commits
sofia-sip
-
Andrey Volk f6ee306084fc36f6e97b7c0cc3917e65a18707f4
Version bump to 1.13.9
- sofia-sip.spec (version f6ee306084fc36f6e97b7c0cc3917e65a18707f4) (diffs)
- open_c/config.h.in (version f6ee306084fc36f6e97b7c0cc3917e65a18707f4) (diffs)
- debian/changelog (version f6ee306084fc36f6e97b7c0cc3917e65a18707f4) (diffs)
- configure.ac (version f6ee306084fc36f6e97b7c0cc3917e65a18707f4) (diffs)
- .update (version f6ee306084fc36f6e97b7c0cc3917e65a18707f4) (diffs)
-
Christopher Rienzo 1285866c61fc0f9db431b2c8cfc06523ac6d9751
Add TPTAG_CAPT_SRC to optionally set specify IP to report to HEP/EEP
- libsofia-sip-ua/tport/tport_tag.c (version 1285866c61fc0f9db431b2c8cfc06523ac6d9751) (diffs)
- libsofia-sip-ua/tport/tport_logging.c (version 1285866c61fc0f9db431b2c8cfc06523ac6d9751) (diffs)
- libsofia-sip-ua/tport/tport_internal.h (version 1285866c61fc0f9db431b2c8cfc06523ac6d9751) (diffs)
- libsofia-sip-ua/tport/tport.c (version 1285866c61fc0f9db431b2c8cfc06523ac6d9751) (diffs)
- libsofia-sip-ua/tport/sofia-sip/tport_tag.h (version 1285866c61fc0f9db431b2c8cfc06523ac6d9751) (diffs)
-
Andrey Volk 5830a3274f2c08d0cfb03db2341220718f0e6108
Merge pull request #134 from mattst88/fix-warnings-and-tests
Fix warnings and tests -
Andrey Volk 2512f3410271af156ad734b7ff452d5d1fc5b116
Merge pull request #155 from flaviogrossi/always_remove_tcp_ports_from_tplist
remove closed secondary transports from pri_closed in case of transport errors too -
Flavio Grossi ca60c3daebec6ee2723a41276d61d6a0d389d7f7
remove closed secondary transports from pri_closed in case of transport errors too
-
Andrey Volk 259eb7d1f856240f1382d6ffe2176b313c241e40
Merge pull request #153 from prabhugithubme/scan-build-11-fix
Fix typo made by previous commit to su_select_port.c -
Prabhu 5b157b2623720dc7f1d73cd28ac67dc77ec742c6
Fix typo made by previous commit to su_select_port.c
-
Andrey Volk fd4e92f3687278c48af8e473c2af37dd4ed9b3f0
Merge pull request #152 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Logic error Array subscript is undefined libsofia-sip-ua/bnf/sofia-sip/bnf.h span_unreserved -
Prabhu 61c11f5782ed8dc70c6e0787f5af52cad8a31e32
Scan-build: Fix Logic error Array subscript is undefined libsofia-sip-ua/bnf/sofia-sip/bnf.h span_unreserved
-
Andrey Volk a5198dbf56a73d6ac53005bf4dfe30798752a39c
Merge pull request #151 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Logic error Result of operation is garbage or undefined -
Prabhu fc76889b461b8a885f0c46c4859ec2d4de3d34ce
Scan-build: Fix Logic error Result of operation is garbage or undefined
-
Andrey Volk 84f147902ef195235fcfb44a79b63becd2ab10d6
Merge pull request #150 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Logic error Return of address to stack-allocated memory libsofia-sip-ua/sresolv/sres.c sres_create_record -
Prabhu 39b16ce9ec1c1b997bbdbbc9103ec542aff44b05
Scan-build: Fix Logic error Return of address to stack-allocated memory libsofia-sip-ua/sresolv/sres.c sres_create_record
-
Andrey Volk e8a28285c1b8bddacf1e72132bb6945edb563f79
Merge pull request #149 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dereference of null pointer -
Prabhu 038373bea45d52fc42227e295761a583439a65f1
Scan-build: Fix Dereference of null pointer
- libsofia-sip-ua/su/su_select_port.c (version 038373bea45d52fc42227e295761a583439a65f1) (diffs)
- libsofia-sip-ua/su/sofia-sip/su_tag_inline.h (version 038373bea45d52fc42227e295761a583439a65f1) (diffs)
- libsofia-sip-ua/soa/soa.c (version 038373bea45d52fc42227e295761a583439a65f1) (diffs)
- libsofia-sip-ua/nua/nua_session.c (version 038373bea45d52fc42227e295761a583439a65f1) (diffs)
- libsofia-sip-ua/nta/nta.c (version 038373bea45d52fc42227e295761a583439a65f1) (diffs)
- libsofia-sip-ua/msg/msg_parser.c (version 038373bea45d52fc42227e295761a583439a65f1) (diffs)
-
Andrey Volk 060e3a294a6e51276e806adf4547cd69e7186fe9
Merge pull request #148 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment -
Prabhu a815495805dfac2344c2e1fc9b360e365d36da33
Scan-build: Fix Dead store Dead nested assignment
- s2check/s2dns.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/url/url.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/tport/tport_type_ws.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/tport/tport_logging.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/tport/tport.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/su/su_taglist.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/su/su_localinfo.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/nua/nua_session.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/nua/nua_server.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/nta/nta.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/nea/nea_server.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
- libsofia-sip-ua/msg/msg_parser.c (version a815495805dfac2344c2e1fc9b360e365d36da33) (diffs)
-
Andrey Volk c5b5d9ef49b4af142b7b9cd141adcd458eda14f3
Merge pull request #147 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/sresolv/sres_sip.c -
Prabhu d8e11b8748f3b6c42bec59d8a21c95d09903a809
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/sresolv/sres_sip.c
-
Andrey Volk 230d294f9f786ac0d8d9217db37fe544d012050c
Merge pull request #146 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/http/http_parser.c http_extract_chunk -
Prabhu 9d254312f2c4b73e3fa804fc90718610b6106ca8
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/http/http_parser.c http_extract_chunk
-
Andrey Volk 4affe562a7bf1c1e30918c93089b1df680503921
Merge pull request #145 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/sresolv/sres.c -
Prabhu fd7cb64b1e996089785a75be6f639f462e122623
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/sresolv/sres.c
-
prabhugithubme <100773071+prabhugithubme@users.noreply.github.com> ec6c4c562c19949ebfc493648b3eba2352532868
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/nua/nua_session.c
-
Andrey Volk c908dea07e152f1ebe58dc9d437545a5b3b23322
Merge pull request #143 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/nta/sl_read_payload.c sl_read_payload -
Prabhu a7b7e6c71b33646878722586e7c115d9da8868cd
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/nta/sl_read_payload.c sl_read_payload
-
Andrey Volk 7de0a7aa7be300fa8e8e1aa80a448a4d4b7df713
Merge pull request #142 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/sresolv/sres.c sres_resolver_error -
Prabhu 7bd83610340f9bcfbf3537c0fdb6088a9d7e0907
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/sresolv/sres.c sres_resolver_error
-
Andrey Volk 2631851a0f06149c64bdc9990acab7703a8fb855
Merge pull request #141 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/msg/msg_parser_util.c msg_avlist_d -
Prabhu b86bca1f313aad9a6d083d0e49cf1efe440e4a76
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/msg/msg_parser_util.c msg_avlist_d
-
Andrey Volk a925c9775322deedf07e2d2de2ebd717cf85458b
Merge pull request #140 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/msg/msg_mime.c msg_multipart_parse. -
Prabhu 812dc1d94e671231a22cb863a29622f7d39b0dcb
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/msg/msg_mime.c msg_multipart_parse
-
Prabhu dd981248470ba657dacd22f5fad058e0c4b5b1f4
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/msg/msg_mime.c msg_multipart_parse
-
Andrey Volk 7b5fba7d1a42000b02887da156ac5615b356a565
Merge pull request #138 from prabhugithubme/scan-build-11-fix
Scan-build: Fix Dead store Dead nested assignment libs? -
Prabhu 3a5cccd9ddfb7817112e2c41dc174cbb00a5d880
Scan-build: Fix Dead store Dead nested assignment libsofia-sip-ua/msg/msg_mime.c msg_multipart_parse
-
Andrey Volk 7e510715034cf16f892f00a64b238be05f29cf2b
Scan-build: Fix false positive Memory error Use-after-free libsofia-sip-ua/su/su_timer.c timers_is_full (#136)
-
Andrey Volk 5f73258b5b7e27f5449c708a1ec597f4d0c486fb
Merge pull request #137 from freeswitch/sb11
Enable scan-build-11 on Drone CI -
Andrey Volk 3b46d2a4d09e11ad490092aa6a76131e9a5ac75e
Enable scan-build-11 on Drone CI
-
Matt Turner <mattst88@gmail.com> 17da7c45937cf0f66ca6a49a5661519443ebf8a7
Fix array size
check_sres_sip.c: In function ?resolver_setup?:
check_sres_sip.c:113:19: warning: array subscript 2 is above array bounds of ?su_addrinfo_t[2]? {aka ?struct addrinfo[2]?} [-Warray-bounds]
113 | hint_udp_tcp_tls[2].ai_protocol = TPPROTO_TLS;
| ~~~~~~~~~~~~~~~~^~~
check_sres_sip.c:69:22: note: while referencing ?hint_udp_tcp_tls?
69 | static su_addrinfo_t hint_udp_tcp_tls[2];
| ^~~~~~~~~~~~~~~~
check_sres_sip.c:114:19: warning: array subscript 2 is above array bounds of ?su_addrinfo_t[2]? {aka ?struct addrinfo[2]?} [-Warray-bounds]
114 | hint_udp_tcp_tls[2].ai_next = NULL;
| ~~~~~~~~~~~~~~~~^~~
check_sres_sip.c:69:22: note: while referencing ?hint_udp_tcp_tls?
69 | static su_addrinfo_t hint_udp_tcp_tls[2];
| ^~~~~~~~~~~~~~~~
Fixes: https://github.com/freeswitch/sofia-sip/issues/89 -
Matt Turner <mattst88@gmail.com> 54a84b3a1d9456240691cef2843173f631c0d34d
Use memmove for overlapping src and destination
In file included from /usr/include/string.h:519,
from stun.c:41:
In function ?memcpy?,
inlined from ?stun_test_nattype? at stun.c:1251:5:
/usr/include/bits/string_fortified.h:29:10: warning: ?__builtin_memcpy? accessing 32 bytes at offsets 96 and 72 overlaps 8 bytes at offset 96 [-Wrestrict]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ?memcpy?,
inlined from ?stun_test_lifetime? at stun.c:2740:5:
/usr/include/bits/string_fortified.h:29:10: warning: ?__builtin_memcpy? accessing 32 bytes at offsets 96 and 72 overlaps 8 bytes at offset 96 [-Wrestrict]
29 | return __builtin___memcpy_chk (__dest, __src, __len,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30 | __glibc_objsize0 (__dest));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ -
Matt Turner <mattst88@gmail.com> 1122bd4749ad612751e3f09e4ebdf177acd39332
Remove unused function
test_sresolv.c: In function ?fill_stack?:
test_sresolv.c:1920:9: warning: variable ?array? set but not used [-Wunused-but-set-variable]
1920 | int i,array[32768];
| ^~~~~ -
Matt Turner <mattst88@gmail.com> c19c945354b5a1c3ca9f2d3f5751085deb95dd65
Fix pointer memaccess warning
test_sresolv.c: In function ?test_deinit?:
test_sresolv.c:1875:25: warning: argument to ?sizeof? in ?memset? call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
1875 | memset(ctx, 0, sizeof ctx);
| ^~~ -
Matt Turner <mattst88@gmail.com> ed52bf187166dd4cef29e17aaf354ab4a96b80b7
Fix buffer size warning
torture_url.c: In function ?test_sip?:
torture_url.c:368:45: warning: ?%s? directive output may be truncated writing up to 511 bytes into a region of size 498 [-Wformat-truncation=]
368 | snprintf(pu, sizeof(pu), "sip:test@host;%s", param);
| ^~ ~~~~~
torture_url.c:368:5: note: ?snprintf? output between 15 and 526 bytes into a destination of size 512
368 | snprintf(pu, sizeof(pu), "sip:test@host;%s", param);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
Matt Turner <mattst88@gmail.com> f5fb3103207068b9976fe5bb459124e52afaf857
Fix sequence point warning
test_memmem.c: In function ?test_notfound?:
test_memmem.c:97:19: warning: operation on ?a? may be undefined [-Wsequence-point]
97 | TEST_P(memmem(a = "a\0bc", 4, "a\0bc", 4), a);
| ~~^~~~~~~~~ -
Matt Turner <mattst88@gmail.com> 02cc33221f7a864c8feee42cac6d96064478b7e3
Fix set but unused warnings
su_proxy.c: In function ?forwarder_accept?:
su_proxy.c:361:7: warning: variable ?events? set but not used [-Wunused-but-set-variable]
361 | int events;
| ^~~~~~ -
Matt Turner <mattst88@gmail.com> 2a5ce916074e6a397eda5517ea11f8e980d8e5a7
Remove unused variables
torture_sresolv.c: In function ?test_api_errors?:
torture_sresolv.c:142:7: warning: variable ?s? set but not used [-Wunused-but-set-variable]
142 | int s, fd;
| ^
torture_sresolv.c:177:5: warning: ?sockets? may be used uninitialized [-Wmaybe-uninitialized]
177 | s = sockets[0];
| ~~^~~~~~~~~~~~
torture_sresolv.c:143:7: note: ?sockets? declared here
143 | int sockets[20];
| ^~~~~~~ -
Matt Turner <mattst88@gmail.com> ab09ab517bbdb4b1f08bfb3f616785ccde0a5629
Fix -Wunused-value warnings
stun_internal.h:90:66: warning: right-hand operand of comma expression has no effect [-Wunused-value]
90 | SU_DEBUG_5(("%s: %s: %s\n", __func__, #what, su_strerror(err))), \
| ^
stun.c:1318:5: note: in expansion of macro ?STUN_ERROR?
1318 | STUN_ERROR(one, SO_ERROR);
| ^~~~~~~~~~ -
Matt Turner <mattst88@gmail.com> 3126955883b1608ac7f155aa2a741b6aa7fa9666
Fix -Wunused-value warnings
torture_sresolv.c:342:13: warning: right-hand operand of comma expression has no effect [-Wunused-value]
342 | for (i = 0, N; i < N; i++)
| ^ -
Matt Turner <mattst88@gmail.com> 94f6d5aaa716edf0e0a032993e5fe43f4b0d582e
Fix misleading indentation