]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: ethernet: avoid using unitialized memory 21504/head
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Mon, 12 Jan 2026 11:02:24 +0000 (12:02 +0100)
committerStijn Tintel <stijn@linux-ipv6.be>
Mon, 12 Jan 2026 12:47:39 +0000 (14:47 +0200)
commit19b8d391a95d5a2fa038551a9498a9fd426dfc0e
tree179606a92f0e263fcef1fac82e584ff7955f6090
parenta91c3abe83c3f9513518c86b5d0a42b5a9afaad3
realtek: ethernet: avoid using unitialized memory

The mac_addr variable was not zero-initialized, causing weird side effects
when the memory contents were a valid MAC address.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Link: https://github.com/openwrt/openwrt/pull/21504
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-6.12/drivers/net/ethernet/rtl838x_eth.c