diff options
author | Russ Gorby <[email protected]> | 2011-06-14 13:23:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2011-06-16 12:00:15 -0700 |
commit | 57f2104f39995bac332ddc492fbf60aa28e0c35e (patch) | |
tree | ec5cc4b87ae3e3abc2749ec5010ba668231a017e /net/lapb/lapb_timer.c | |
parent | 7263287af93db4d5cf324a30546f2143419b7900 (diff) |
tty: n_gsm: improper skb_pull() use was leaking framed data
gsm_dlci_data_output_framed() was doing:
memcpy(dp, skb_pull(dlci->skb, len), len);
The problem is skb_pull() returns the post-increment data ptr
so the first chunk of dlci->skb->data is leaked.
Signed-off-by: Russ Gorby <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions