[systemd-devel] [PATCH] resolved: avoid possible dereference of null pointer
Thomas H.P. Andersen
phomes at gmail.com
Sun Aug 3 14:11:53 PDT 2014
On Sun, Aug 3, 2014 at 10:56 PM, Zbigniew Jędrzejewski-Szmek
<zbyszek at in.waw.pl> wrote:
> On Sun, Aug 03, 2014 at 10:53:05PM +0200, Thomas H.P. Andersen wrote:
>> From: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
>> In dns_scope_make_reply_packet the structs q, answer, and soa can be
>> null. We should check for null before reading their fields.
> Looks OK.
Thanks. I was in doubt about the style. Pushed it now.
More information about the systemd-devel