Re: [nft PATCH] monitor: Fix for incorrect debug_mask

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

 



On Thu, Sep 21, 2017 at 08:38:02PM +0200, Phil Sutter wrote:
> The field 'debug_mask' of struct netlink_mon_handler was left
> uninitialized in do_command_monitor() so it contained garbage from the
> stack. Fix this by initializing it with the debug_mask value from struct
> netlink_ctx.
> 
> While being at it, change the code to make use of C99-style initializer,
> which will also avoid things like this in future.

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