Thread (6 messages) flat view 6 messages, 3 authors, 2020-08-28

Re: [PATCH] netfilter: nf_conntrack_sip: fix parsing error

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2020-08-28 18:07:53
Also in: lkml, netfilter-devel

On Sat, Aug 15, 2020 at 12:50:30PM -0400, Tong Zhang wrote:
ct_sip_parse_numerical_param can only return 0 or 1, but the caller is
checking parsing error using < 0
Is this are real issue in your setup or probably some static analysis
tool is reporting?

You are right that ct_sip_parse_numerical_param() never returns < 0,
however, looking at:

https://tools.ietf.org/html/rfc3261 see Page 161

expires is optional, my understanding is that your patch is making
this option mandatory.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help