[systemd-devel] [PATCH] resolved: avoid possible dereference of null pointer

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sun Aug 3 13:56:13 PDT 2014


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.

Zbyszek


More information about the systemd-devel mailing list