Re: [PATCH v2] xt_connmark: Fix invalid tginfo* casting.

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

 



On Mon, Apr 16, 2018 at 01:21:04PM +1200, Jack Ma wrote:
> This bug was found during testing pre-existing iptables options
> with newly added v2 APIs.
> 
> Casting from (const struct xt_connmark_tginfo2 *) to
> (const struct xt_connmark_tginfo1 *) results in the significance
> to be lost. Subsequentially, the 'info->mode' is reset to zero,
> when multiple options are parsed in.

Sent you a different patch to sort out this. Thanks.
--
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