Re: [libnftnl PATCH 4/6] src/ruleset: Avoid reading garbage in nftnl_ruleset_cb()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 14, 2017 at 08:40:23PM +0100, Phil Sutter wrote:
> If nftnl_ruleset_json_parse() is called with arg == NULL, ctx.data is
> left uninitialized and will later be used in nftnl_ruleset_cb(). Avoid
> this by using a C99-style initializer for 'ctx' which sets all omitted
> fields to zero.

Applied, thanks Phil.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux