Project

General

Profile

Bug #4190

Exclude: invalid memory access in Exclude::Range

Added by Junxiao Shi about 3 years ago. Updated about 3 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

#1

Updated by Junxiao Shi about 3 years ago

  • Status changed from New to Code review
  • Assignee set to Junxiao Shi
  • % Done changed from 0 to 100
#2

Updated by Junxiao Shi about 3 years ago

  • Status changed from Code review to Closed

Also available in: Atom PDF