diff options
author | Al Viro <[email protected]> | 2017-01-14 19:33:08 -0500 |
---|---|---|
committer | Al Viro <[email protected]> | 2017-01-14 19:50:41 -0500 |
commit | b9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb (patch) | |
tree | ca221e796b274a6c909db003fcda215156aa4cc7 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 4d22c75d4c7b5c5f4bd31054f09103ee490878fd (diff) |
fix a fencepost error in pipe_advance()
The logics in pipe_advance() used to release all buffers past the new
position failed in cases when the number of buffers to release was equal
to pipe->buffers. If that happened, none of them had been released,
leaving pipe full. Worse, it was trivial to trigger and we end up with
pipe full of uninitialized pages. IOW, it's an infoleak.
Cc: [email protected] # v4.9
Reported-by: "Alan J. Wylie" <[email protected]>
Tested-by: "Alan J. Wylie" <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions