libosmocore[master]: tests/conv: add GSM 05.03 specific test

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Mar 15 12:44:12 UTC 2017


Patch Set 4:

the address sanitizer bug will have to be resolved first, befor the patch is verified and can be merged: 

+=================================================================
+==23280==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x61500000d700 at pc 0x7f490faf014e bp 0x7fff5635a060 sp 0x7fff5635a058
+WRITE of size 1 at 0x61500000d700 thread T0
+    #0 0x7f490faf014d in _conv_encode_do_output /home/osmocom-build/jenkins/workspace/libosmocore-gerrit/label/linux_amd64_debian8/src/conv.c:130
+    #1 0x7f490faf014d in osmo_conv_encode_raw /home/osmocom-build/jenkins/workspace/libosmocore-gerrit/label/linux_amd64_debian8/src/conv.c:156
+    #2 0x7f490faf16fb in osmo_conv_encode /home/osmocom-build/jenkins/workspace/libosmocore-gerrit/label/linux_amd64_debian8/src/conv.c:226
+    #3 0x401608 in do_check conv/conv.c:109
+    #4 0x400ed7 in main conv/conv_gsm0503_test.c:21
+    #5 0x7f490e603b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
+    #6 0x400fb6 (/home/osmocom-build/jenkins/workspace/libosmocore-gerrit/label/linux_amd64_debian8/tests/conv/.libs/lt-conv_gsm0503_test+0x400fb6)
+
+0x61500000d700 is located 0 bytes to the right of 512-byte region [0x61500000d500,0x61500000d700)
+allocated by thread T0 here:
+    #0 0x7f490fdd173f in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x5473f)
+    #1 0x4010b7 in do_check conv/conv.c:26
+
+SUMMARY: AddressSanitizer: heap-buffer-overflow /home/osmocom-build/jenkins/workspace/libosmocore-gerrit/label/linux_amd64_debian8/src/conv.c:130 _conv_encode_do_output

More details see http://jenkins.osmocom.org/jenkins/job/libosmocore-gerrit/851/label=linux_amd64_debian8/console

-- 
To view, visit https://gerrit.osmocom.org/1628
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I76d1cd4032d2f74c5bb93bde4fab99aa655b7f1a
Gerrit-PatchSet: 4
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Tom Tsou <tom at tsou.cc>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: tnt <tnt at 246tNt.com>
Gerrit-HasComments: No



More information about the gerrit-log mailing list