Re: libxt_string: fix undefined behavior/incorrect patlen calculation

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

 



On Sunday 2009-03-01 23:37, pud wrote:
>(sorry, msg-id lost)
>
>> commit 19b0cd770d1e042c85bf0b278261a61d4cea8193
>> Author: Jan Engelhardt <jeng...@xxxxxxxxxx>
>> Date: Thu Feb 12 01:18:35 2009 +0100
>...
>> - stringinfo->patlen=strlen((char *)&stringinfo->pattern);
>> + stringinfo->patlen = strnlen((char *)&stringinfo->pattern,
>> +                           sizeof(stringinfo->patlen));
>
>sorry, this doesn't work here, did you mean
>sizeof(stringinfo->pattern)?

What do you mean "doesnot work"?
--
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