Project

General

Profile

Actions

Bug #4190

closed

Exclude: invalid memory access in Exclude::Range

Added by Junxiao Shi over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

Platform: Ubuntu 16.04 32-bit

Steps to reproduce:

./waf configure --enable-static --disable-shared --with-tests --without-pch --with-sanitizer=address,undefined
./waf
build/unit-tests -t TestExclude/GenericComponent/One

Actual:

../src/exclude.hpp:177:9: runtime error: load of value 30, which is not a valid value for type 'bool'
/home/ubuntu/san-ndn-cxx/src/exclude.hpp:177:9: runtime error: load of value 48, which is not a valid value for type 'bool'
/home/ubuntu/san-ndn-cxx/src/exclude.hpp:177:9: runtime error: load of value 180, which is not a valid value for type 'bool'

in which exclude.hpp:177:9 points to the definition of Exclude::Range.
The second and third numbers "load of value" change upon every execution, while the first number remains the same.

Expected: no such error

Actions

Also available in: Atom PDF