Netgear / wsdd2

WSD/LLMNR Discovery/Name Service Daemon
GNU General Public License v3.0
158 stars 34 forks source link

wsdd2 segfault with musl #34

Closed fda77 closed 3 years ago

fda77 commented 3 years ago

Bug: https://github.com/openwrt/packages/issues/16867 Fix: https://github.com/openwrt/packages/commit/9ff8e6bcf3a09c6ff7f2075aa9983292fd19d38c

siwind commented 3 years ago

So far, the problem still exists with the latest version:

[  145.537516] do_page_fault(): sending SIGSEGV to wsdd2 for invalid write access to 00000000
[  145.554028] epc = 77e6d710 in libc.so[77df0000+a5000]
[  145.564641] ra  = 77e6dc54 in libc.so[77df0000+a5000]
[  151.200473] do_page_fault(): sending SIGSEGV to wsdd2 for invalid write access to 00000000
[  151.218804] epc = 77ebe710 in libc.so[77e41000+a5000]
[  151.228949] ra  = 77ebec54 in libc.so[77e41000+a5000]

root@OpenWrt:~# opkg list | grep mt76
kmod-mt76-core - 5.4.155+2021-10-20-b649678c-4
kmod-mt7603 - 5.4.155+2021-10-20-b649678c-4
kmod-mt76x02-common - 5.4.155+2021-10-20-b649678c-4
kmod-mt76x2 - 5.4.155+2021-10-20-b649678c-4
kmod-mt76x2-common - 5.4.155+2021-10-20-b649678c-4
fda77 commented 3 years ago

@siwind: This repo is about wsdd2 and not kmod

fda77 commented 3 years ago

Fixed by https://github.com/Netgear/wsdd2/commit/680539e27d31e58a5ed290964bdaf32a7c7adcce