Actions
Bug #195
closedvalgrind error in asn1
Affected Versions:
Effort:
Difficulty:
Label:
Description
When running the unittests with gcc's O3 optimization level I see the following errors:
15592 1 errors in context 1 of 2:15592 Conditional jump or move depends on uninitialised value(s)
15592 at 0x8182F89: DetectAsn1Test06 (detect-asn1.c:109)
15592 by 0x81A6752: UtRunTests (util-unittest.c:199)
15592 by 0x804DDAC: main (suricata.c:896)
15592
15592
15592 1 errors in context 2 of 2:
15592 Conditional jump or move depends on uninitialised value(s)
15592 at 0x81D632A: SCAsn1Decode (util-decode-asn1.c:284)
15592 by 0x8182F34: DetectAsn1Test06 (detect-asn1.c:974)
15592 by 0x81A6752: UtRunTests (util-unittest.c:199)
15592 by 0x804DDAC: main (suricata.c:896)
It does not happen at O0.
Files
Updated by Pablo Rincon over 14 years ago
- File 0001-Fix-valgrind-ctx-error-on-asn1-test-06.patch 0001-Fix-valgrind-ctx-error-on-asn1-test-06.patch added
The unittest was processing a wrong data length, 1 byte more than the correct. Fixed with the attached patch.
Updated by Victor Julien over 14 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
Applied, thanks Pablo.
Actions