[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200828180742.GA20488@salvia>
Date: Fri, 28 Aug 2020 20:07:42 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Tong Zhang <ztong0001@...il.com>
Cc: kadlec@...filter.org, fw@...len.de, davem@...emloft.net,
kuba@...nel.org, netfilter-devel@...r.kernel.org,
coreteam@...filter.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netfilter: nf_conntrack_sip: fix parsing error
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.
Powered by blists - more mailing lists