This repository has been archived on 2025-03-20. You can view files and clone it, but cannot push or open issues or pull requests.
sonic-buildimage/src
Ying Xie 1ac140a945
[dhcp6relay] a couple memory access protections (#9851)
Why I did it
the strcpy and buffer allocation is not safe, it corrupts 1 byte on the stack. Depending on the memory layout, it may or may not cause issue immediately.
message type is not validated before updating the counter. Which could cause segment fault.

How I did it
Remove the unsafe strcpy, use config->interface.c_str() instead.
Check message type before updating counters.

How to verify it
The issue (1) caused segment fault on a specific platform. The fix was validated there. Issue (2) was precautionary. Added log in case it triggers.
2022-01-26 09:58:52 -08:00
..
bash [Bash] Fix bash build break when re-build bash issue. (#9027) 2021-10-22 10:29:12 +08:00
dhcp6relay [dhcp6relay] a couple memory access protections (#9851) 2022-01-26 09:58:52 -08:00
dhcpmon [docker-dhcprelay]: Update to Bullseye (#9736) 2022-01-18 15:11:36 -08:00
ethtool
flashrom
gobgp
hiredis
iccpd
ifupdown2
initramfs-tools Update initramfs-tools from 0.133 to 0.140 2021-11-10 15:27:22 -08:00
iproute2 [iproute2]: Add macsec-xpn-support iproute2 in syncd (#8702) 2021-11-25 21:38:17 +08:00
iptables Ported iptables patch to 5.10 kernel (#4) 2021-11-10 15:27:22 -08:00
isc-dhcp [docker-dhcprelay]: Update to Bullseye (#9736) 2022-01-18 15:11:36 -08:00
ixgbe
kdump-tools Update kdump-tools for bullseye 2021-11-10 15:27:22 -08:00
libnl3
libteam
libyang Python 2 removal/cleanup 2021-11-10 15:27:22 -08:00
libyang1
linkmgrd@0c23756cd6 [sonic-linkmgrd][master] submodule update #9808 2022-01-20 17:45:55 -08:00
lldpd [LLDPD] fix to port remove and immediately create problem (#9519) 2021-12-15 13:06:40 -08:00
lm-sensors
monit Update monit build for Bullseye 2021-11-10 15:27:22 -08:00
mpdecimal
ntp Upgrade to ntp 4.2.8p15 for Bullseye 2021-11-10 15:27:22 -08:00
openssh openssh: Upgrade from 7.9 to 8.4, to match version in Bullseye 2021-11-10 15:27:22 -08:00
ptf@36a3e3d9ac
radius
redis
redis-dump-load@7585497951
redis-dump-load.patch [build] Use pip to install setup.py dependency instead of python setup.py install (#8997) 2021-10-26 21:12:45 -07:00
sflow
smartmontools
snmpd Update snmpd to 5.9, as part of the Bullseye upgrade 2021-11-10 15:27:22 -08:00
socat Create docker-base-bullseye and docker-config-engine-bullseye (#9666) 2022-01-11 09:23:42 -08:00
sonic-bgpcfgd [bgp] Enable BGP Graceful Restart based on device role (#9486) 2021-12-13 10:14:50 -08:00
sonic-build-hooks [build] docker-sonic-mgmt replace USER by whoami (#9702) 2022-01-11 16:48:04 +08:00
sonic-config-engine [sonic-cfggen]: Feature should use 'state' to replace 'status' (#9796) 2022-01-20 08:51:56 +08:00
sonic-ctrmgrd
sonic-dbsyncd@df46ed418e
sonic-device-data [ragile] support 32c and 4s platform (#8824) 2021-11-17 23:49:06 -08:00
sonic-frr Fix IPv4 routes with IPv6 link local next hops installed in FPM (#8740) 2022-01-17 19:40:50 -08:00
sonic-frr-mgmt-framework [frrcfgd][bgpcfgd] Add portchannel support (#8911) 2021-10-12 18:54:37 -07:00
sonic-host-services Showtech sonic mgmt framework: Add Management Framework functionality for "show tech-support" (#7816) 2022-01-10 14:36:34 -08:00
sonic-host-services-data Revert "sysready (#8889)" 2021-11-10 15:36:20 -08:00
sonic-linux-kernel@6aa8d00afd [submodule]: update sonic-linux-kernel (#9254) 2021-11-14 12:01:39 -08:00
sonic-mgmt-common@d43a607d75 [submodule]: update sonic-mgmt-common (#9785) 2022-01-18 21:05:46 +08:00
sonic-mgmt-framework@3c3384cec8
sonic-p4rt [PINS] Build P4RT container for PINS (#9083) 2021-12-07 11:11:25 -08:00
sonic-platform-common@ee122155e0 [Submodule] sonic-platform-common submodule update (#9753) 2022-01-15 10:43:25 +05:30
sonic-platform-daemons@94fa239a7b [y_cable] Support for initialization of new daemon ycable to support ycables (#9125) 2022-01-25 11:10:25 -08:00
sonic-platform-pde@f18ebc297d
sonic-py-common Cache connection handles to prevent duplicate (#9636) 2022-01-07 12:58:01 -08:00
sonic-py-swsssdk@2cd6236849
sonic-restapi@94805a39ac [RESTAPI] Update submodule (#9547) 2021-12-17 09:21:32 -08:00
sonic-sairedis@d5866a3dcc [submodule update] sonic-sairedis (#9750) 2022-01-13 08:17:39 -08:00
sonic-snmpagent@a07da53618 [submodule] Update snmpagent (#9102) 2021-11-08 09:55:24 -08:00
sonic-swss@6cb43ee25c [swss] Update submodule (#9816) 2022-01-21 12:07:40 -08:00
sonic-swss-common@405f1df3d4 [sonic-swss-common]: Submodule update (#9395) 2021-12-01 10:14:13 -08:00
sonic-telemetry@0443e66050
sonic-utilities@d9f3afe5b3 [submodule] Update sonic-utilities submodule (#9687) 2022-01-18 20:22:44 -08:00
sonic-yang-mgmt [DPB] Fix verbose mode issue (#9772) 2022-01-19 11:29:11 +05:30
sonic-yang-models [yang]: Update yang models to support 'cluster' (#9806) 2022-01-26 13:02:47 +08:00
sonic-ztp@f7dd3c54ec [sonic-ztp] Submodule update (#9589) 2022-01-02 17:56:14 +02:00
swig
system-health [system-health] No longer check critical process/service status via monit (#9068) 2021-11-23 15:47:48 -08:00
systemd-sonic-generator [build]: marvell-armhf bullseye fixes (#9243) 2021-11-13 10:48:58 -08:00
tacacs [TACACS] fix src\tacacs\bash_tacplus\debian\rules file mode to 755 because it will be change to 755 by debian build and cause dirty image version. (#9821) 2022-01-21 22:28:31 +08:00
thrift
thrift_0_13_0
wpasupplicant [submodule]: update sonic-wpa-supplicant (#9388) 2022-01-12 20:27:02 -08:00