Actions
Bug #4217
closedNLSR heap buffer overflow error
Start date:
08/02/2017
Due date:
% Done:
100%
Estimated time:
Description
Running NLSR with address sanitizer crashes it with heap buffer overflow error.
This is due to:
https://github.com/named-data/NLSR/blob/9b71bbc970d94b7c62bf4fe6dedd68a1386f4e5b/src/lsdb.cpp#L1157
And can be fixed by doing this instead:
string dataContent(reinterpret_cast<const char*>(data->getContent().value()), data->getContent().value_size());
Files
Updated by Ashlesh Gawande over 7 years ago
- Status changed from New to Code review
- Assignee set to Ashlesh Gawande
- % Done changed from 0 to 100
Updated by Ashlesh Gawande over 7 years ago
- Status changed from Code review to Closed
Actions