aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2021-06-19 13:52:22 +0000
committerDavid S. Miller <[email protected]>2021-06-21 19:19:19 +0000
commit753ba09aa3ea14b593b168d3ef541da00f4659f5 (patch)
tree6ef770d1e3d2c7d7e0731904c42e08a555421d99 /net/unix/af_unix.c
parentnet: iosm: remove an unnecessary NULL check (diff)
downloadkernel-753ba09aa3ea14b593b168d3ef541da00f4659f5.tar.gz
kernel-753ba09aa3ea14b593b168d3ef541da00f4659f5.zip
net: qualcomm: rmnet: fix two pointer math bugs
We recently changed these two pointers from void pointers to struct pointers and it breaks the pointer math so now the "txphdr" points beyond the end of the buffer. Fixes: 56a967c4f7e5 ("net: qualcomm: rmnet: Remove some unneeded casts") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Subash Abhinov Kasiviswanathan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions