Commits on Source (28)
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Lev Walkin authored
-
Cédric Roux authored
-
Cédric Roux authored
-
Cédric Roux authored
-
Cédric Roux authored
-
Cédric Roux authored
I'm not sure this is the right thing to do. Here is the report from Amar Padmanabhan, describing the problem: ------------------------------------------------------------------------- There is a memcopy in the s1ap_decoder after the call to aper_decode READ of size 8 at 0x60200001ea70 thread T6 #0 0x6694c4 in s1ap_decode_s1ap_s1setuprequesties ../buildDebug/s1ap/R10.5/s1ap_decoder.c:6673 #1 0x552505 in s1ap_mme_decode_initiating /home/vagrant/magma/c/oai/s1ap/s1ap_mme_decoder.c:64 #2 0x553b3c in s1ap_mme_decode_pdu /home/vagrant/magma/c/oai/s1ap/s1ap_mme_decoder.c:217 #3 0x54b300 in s1ap_mme_thread /home/vagrant/magma/c/oai/s1ap/s1ap_mme.c:116 #4 0x7f81d46380a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3) #5 0x7f81d27dd62c in clone (/lib/x86_64-linux-gnu/libc.so.6+0xe862c) Here is the trace of the call to aper_decode which actually frees the underlying memory #0 0x7f81d48a1527 in __interceptor_free (/usr/lib/x86_64-linux-gnu/libasan.so.1+0x54527) #1 0x546e24 in NativeEnumerated_decode_aper ../buildDebug/s1ap/R10.5/NativeEnumerated.c:186 #2 0x6c7622 in S1ap_PagingDRX_decode_aper ../buildDebug/s1ap/R10.5/S1ap-PagingDRX.c:125 #3 0x52c93f in aper_decode ../buildDebug/s1ap/R10.5/per_decoder.c:163 #4 0x4facb4 in ANY_to_type_aper ../buildDebug/s1ap/R10.5/ANY.c:216 #5 0x6692f8 in s1ap_decode_s1ap_s1setuprequesties ../buildDebug/s1ap/R10.5/s1ap_decoder.c:6663 -------------------------------------------------------------------------
-
Cédric Roux authored
This work is based on a patch sent by Amar Padmanabhan.
Showing
- ChangeLog 5 additions, 1 deletionChangeLog
- asn1c/Makefile.am 1 addition, 1 deletionasn1c/Makefile.am
- asn1c/Makefile.in 1 addition, 1 deletionasn1c/Makefile.in
- asn1c/asn1c.1 5 additions, 5 deletionsasn1c/asn1c.1
- asn1c/asn1c.c 12 additions, 2 deletionsasn1c/asn1c.c
- asn1c/tests/check-03.-fwide-types.c 1 addition, 1 deletionasn1c/tests/check-03.-fwide-types.c
- asn1c/tests/check-119.-fwide-types.-gen-PER.c 11 additions, 13 deletionsasn1c/tests/check-119.-fwide-types.-gen-PER.c
- asn1c/tests/check-119.-gen-PER.c 11 additions, 13 deletionsasn1c/tests/check-119.-gen-PER.c
- asn1c/tests/check-126.-gen-PER.c 10 additions, 10 deletionsasn1c/tests/check-126.-gen-PER.c
- asn1c/tests/check-127.-gen-PER.c 0 additions, 0 deletionsasn1c/tests/check-127.-gen-PER.c
- asn1c/tests/check-131.-gen-PER.c 1 addition, 1 deletionasn1c/tests/check-131.-gen-PER.c
- asn1c/tests/check-132.-gen-PER.c 1 addition, 2 deletionsasn1c/tests/check-132.-gen-PER.c
- asn1c/tests/check-133.-gen-PER.c 83 additions, 0 deletionsasn1c/tests/check-133.-gen-PER.c
- asn1c/tests/check-22.-fwide-types.c 2 additions, 2 deletionsasn1c/tests/check-22.-fwide-types.c
- asn1c/tests/check-24.-fwide-types.c 4 additions, 4 deletionsasn1c/tests/check-24.-fwide-types.c
- asn1c/tests/check-25.-fwide-types.c 6 additions, 6 deletionsasn1c/tests/check-25.-fwide-types.c
- asn1c/tests/check-30.-fwide-types.c 4 additions, 4 deletionsasn1c/tests/check-30.-fwide-types.c
- asn1c/tests/check-31.-fwide-types.c 5 additions, 5 deletionsasn1c/tests/check-31.-fwide-types.c
- asn1c/tests/check-35.c 17 additions, 17 deletionsasn1c/tests/check-35.c
- asn1c/tests/check-41.-fwide-types.c 322 additions, 0 deletionsasn1c/tests/check-41.-fwide-types.c
asn1c/tests/check-133.-gen-PER.c
0 → 100644