Commit b6139a1
fix use after free
dns_client_exit does release the server_info members which are accessed
in dns_server_exit by _dns_server_close_socket
this leads to a crash at program exit or any other call of
_smartdns_exiti
Jan 31 08:10:11.005 dd-wrt user.emerg smartdns: process exit with signal 11, code = 1, errno = 0, pid = -1599429336, self = 7199, pc = 0x7fa132a640, addr = 0x7fa0aaa528, build(Jan 31 2026 07:01:24 arm64)
Jan 31 08:10:11.006 dd-wrt user.emerg smartdns: Stack:
Jan 31 08:10:11.006 dd-wrt user.emerg smartdns: #1: 0x41a650 print_stack() from /usr/sbin/smartdns+0x1a650
Jan 31 08:10:11.006 dd-wrt user.emerg smartdns: #2: 0x41a790 () from /usr/sbin/smartdns+0x1a790
Jan 31 08:10:11.006 dd-wrt user.emerg smartdns: #3: 0x7fa131a964 __setjmp() from /lib/ld-musl-aarch64.so.1+0x4a964
Jan 31 08:10:11.006 dd-wrt user.emerg smartdns: #4: 0x7fa132a640 () from /lib/ld-musl-aarch64.so.1+0x5a640
Signed-off-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>1 parent 136c0c2 commit b6139a1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
717 | | - | |
718 | 717 | | |
719 | 718 | | |
720 | 719 | | |
| 720 | + | |
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
| |||
0 commit comments