Stupid users cause weird crashes in the DNS code ...

Jeremy Allison jra at samba.org
Fri Sep 1 17:04:10 UTC 2023


On Fri, Sep 01, 2023 at 09:21:09AM -0700, Richard Sharpe via samba-technical wrote:
>Hi folks,
>
>I didn't follow the instructions carefully enough.
>
>I set up resolv.conf to point at 127.0.0.1 and an upstream nameserver
>(10.20.1.100).
>
>During provisioning that created an entry of 'dns resolver = 127.0.0.1'.
>
>That resulted in the following crash. Looks like a bug.
>
>Provisioning should not use any of the aliases for the current system
>as forwarders.
>
>In addition, perhaps the code should not crash if it gets a timeout.
>
>4.19.0rc4.

Can you add a "panic action = /bin/sleep 99999999"
and catch it in gdb. Knowing *exactly* what line
it goes down on will help. A lot :-).



More information about the samba-technical mailing list