Actions
Bug #781
closedRacy string input from userspace can yield to unreadable traces
Start date:
04/14/2014
Due date:
% Done:
100%
Estimated time:
Description
The attached program yield to unreadable traces when tracing system calls.
We need to fix this by ensuring that we allow input strings to change underneath between the length computation and copy into the buffers. It needs to be done with padding rather than zeroing any extra space, because otherwise Babeltrace will expect the following field right after the first null terminating character.
Babeltrace error example:
[error] Event id 26212 is outside range.
[error] Reading event failed.
Error printing trace.
Files
Updated by Mathieu Desnoyers over 10 years ago
- File fix-modules-strcpy.patch fix-modules-strcpy.patch added
- Status changed from New to Feedback
Updated by Mathieu Desnoyers over 10 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Applied in changeset 16f78f3ad7dea4a0b442b8c7e0de01935f28e656.
Actions