aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2022-07-05 23:41:38 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2022-07-05 23:44:18 +0000
commite049fd76f0d57c1e6400fbfbaf4cc6ebe540f16f (patch)
treebe3574b3874d9a101029a212bc5c81880a3d5ded /src/sync.cpp
parent9d9c4185fadaf243bb97c226e2fef16b65299699 (diff)
Bugfix: Check for readlink buffer overflow and handle gracefully
If readlink returns the size of the buffer, an overflow may have (safely) occurred. Pass a buffer size of MAX_PATH+1 (the size of the actual buffer) to detect this scenario.
Diffstat (limited to 'src/sync.cpp')
0 files changed, 0 insertions, 0 deletions