Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dir: avoid heap-overflow during verify job
Fixes #1210: 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. (backport of 86c6fa4)
- Loading branch information