bareos: bareos-19.2 1faaffa4
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
arogge | arogge | bareos-19.2 | 2020-04-29 14:20 | bareos-19.2 b08abf25 | Pending |
Affected Issues | 0001210: Security vulnerability results in heap overflow in director when doing a Verify job against a file daemon. | ||||
Changeset | dir: avoid heap-overflow during verify job Fixes 0001210: Security vulnerability results in heap overflow in director when doing a Verify job against a file daemon. Previously the code did not check that the target buffer that scanf() wrote into was big enough to fit the data. This patch now resizes the buffer to the size of the message buffer that is being parsed ensuring that there is no heap overflow anymore. (cherry picked from commit 86c6fa479a21a1464366babb74e6cf33770ed7ae) |
||||
mod - core/src/dird/fd_cmds.cc | Diff File |