Thread (4 messages) flat view 4 messages, 2 authors, 2014-10-09

Re: [PATCH] net sched: text ematch: zero out ts_state before using it

From: Cong Wang <hidden>
Date: 2014-10-09 21:49:03
Also in: lkml

On Thu, Oct 9, 2014 at 9:05 AM, Omar Sandoval [off-list ref] wrote:
textsearch_find zeroes out the offset, but the control buffer (which may or may
not matter in this case) needs to be zeroed out as well.
Why? skb_prepare_seq_read() initializes the cb.

Also, the comment says:

 * @state: uninitialized textsearch state variable
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help