openwrt/package/network/services
Paul Donald 1e9da9798a
Some checks are pending
Build all core packages / Build all core packages for selected target (push) Waiting to run
ppp: add memmove fortify and remove MRU patch
memcpy() with overlapping src and dest buffers is an undefined behavior
in C. In the current code, a ConfRej response is generated by copying
input data in-place, where the dest address is lower than the src.
This happens to work in practice because memcpy() forward-copies data,
matching the behavior of memmove() in this case.

However, if FORTIFY_SOURCE or Address Sanitizer is enabled, memcpy()
will detect the overlap at run time and abort the program.

Replace the memcpy() with memmove() to ensure a well-defined behavior.

Reported-by: Filippo Carletti <filippo.carletti@gmail.com>

MRU patch https://github.com/ppp-project/ppp/pull/573

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22286
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-07 00:04:48 +01:00
..
bridger bridger: update to Git HEAD (2025-10-23) 2025-12-10 23:29:24 +01:00
dnsmasq dnsmasq: bump release to 2.92 2026-01-22 20:55:32 +01:00
dropbear dropbear: bump to 2025.89 (CVE-2025-14282, CVE-2019-6111) 2025-12-17 03:57:50 +00:00
ead treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
hostapd hostapd: update to 2026-02-27 2026-03-02 11:58:26 +01:00
ipset-dns treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
lldpd lldpd: bump to 1.0.20 2025-10-19 19:35:44 +02:00
odhcpd odhcpd: update to Git HEAD (2026-01-19) 2026-01-25 19:29:20 +01:00
omcproxy omcproxy: update to Git HEAD (2025-10-04) 2025-10-04 13:40:56 +02:00
ppp ppp: add memmove fortify and remove MRU patch 2026-03-07 00:04:48 +01:00
relayd relayd: update to Git HEAD (2025-10-04) 2025-10-04 13:38:44 +02:00
uhttpd uhttpd: update to Git HEAD (2025-10-03) 2025-10-03 23:57:30 +02:00
umdns umdns: update to Git HEAD (2025-10-04) 2025-10-04 13:31:37 +02:00
unetd unetd: update to Git HEAD (2026-02-15) 2026-02-15 14:42:03 +01:00
unetmsg unetmsg: notify subscribers when remote peer connection drops 2026-02-07 10:04:18 +01:00
ustp ustp: update to Git HEAD (2023-05-29) 2024-04-27 11:40:04 +02:00