diff options
author | Russ Gorby <russ.gorby@intel.com> | 2011-06-14 20:23:29 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-16 19:00:15 (GMT) |
commit | 57f2104f39995bac332ddc492fbf60aa28e0c35e (patch) | |
tree | ec5cc4b87ae3e3abc2749ec5010ba668231a017e /include | |
parent | 7263287af93db4d5cf324a30546f2143419b7900 (diff) | |
download | linux-fsl-qoriq-57f2104f39995bac332ddc492fbf60aa28e0c35e.tar.xz |
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 <russ.gorby@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions