diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-09 07:16:38 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-08-09 08:58:08 +0300 |
| commit | 9d47f220a09eb30750f85973dc2f0d4157eb78be (patch) | |
| tree | 0059140bb0a12f8be9977aae5d27cb4c5704c24b /.github | |
| parent | 0d7cd3a4ae6beed4eab485052a5e27b0772f15c6 (diff) | |
| download | accel-ppp-9d47f220a09eb30750f85973dc2f0d4157eb78be.tar.gz accel-ppp-9d47f220a09eb30750f85973dc2f0d4157eb78be.zip | |
pptp: reject a malformed bind address
An unparsable bind= value went through inet_addr() unchecked and became
255.255.255.255, so the only symptom was bind() failing with "Cannot
assign requested address", which does not point at the configuration.
Parse with inet_aton() and name the offending value instead.
Also zero the address before filling it in, so the padding passed to
bind() is not stack garbage.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
