diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-07-12 23:12:03 +0300 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-07-12 23:12:03 +0300 |
| commit | efa4cea1beec1fa758ac94f350dfa7bdfa6d472f (patch) | |
| tree | 93d73d7c4727dc4858a645302f69c230260b3dda /pppd_plugin/README | |
| parent | 1c43c26d5c87df722141ad6a37f068968a9a6b5b (diff) | |
| download | accel-ppp-efa4cea1beec1fa758ac94f350dfa7bdfa6d472f.tar.gz accel-ppp-efa4cea1beec1fa758ac94f350dfa7bdfa6d472f.zip | |
ipdb: fix undefined shift in build_ip6_addr() host-bits mask
For prefix lengths 65..127 the mask for the host bits was built with
(1 << (128 - prefix_len)) - 1 using a plain int literal, which is
undefined behavior for shift counts of 31 and above, i.e. for any
prefix length from 65 to 97. Use a 64-bit constant for the shift.
Diffstat (limited to 'pppd_plugin/README')
0 files changed, 0 insertions, 0 deletions
