Thread (3 messages) 3 messages, 3 authors, 2021-06-21

Re: [PATCH net-next] netfilter: nfnetlink_hook: fix check for snprintf() overflow

From: Pablo Neira Ayuso <pablo@netfilter.org>
Date: 2021-06-21 20:06:22
Also in: netdev, netfilter-devel

On Sat, Jun 19, 2021 at 04:55:46PM +0300, Dan Carpenter wrote:
The kernel version of snprintf() can't return negatives.  The
"ret > (int)sizeof(sym)" check is off by one because and it should be
quoted
=.  Finally, we need to set a negative error code.
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help