[24.x] [gui] Bugfix: Check for readlink buffer overflow and handle gracefully #26434
pull maflcko wants to merge 1 commits into bitcoin:24.x from luke-jr:readlink_overflow_check changing 1 files +3 −2-
maflcko commented at 12:19 pm on November 1, 2022: memberIdentical commit taken as-is from #25548 for backport
-
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.
-
fanquake added this to the milestone 24.0 on Nov 1, 2022
-
fanquake added the label Backport on Nov 1, 2022
-
fanquake requested review from hebasto on Nov 1, 2022
-
hebasto approved
-
hebasto commented at 1:00 pm on November 1, 2022: memberACK e049fd76f0d57c1e6400fbfbaf4cc6ebe540f16f
-
fanquake merged this on Nov 1, 2022
-
fanquake closed this on Nov 1, 2022
-
bitcoin locked this on Nov 1, 2023
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-22 03:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-12-22 03:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me