android_kernel_motorola_sm6375/drivers/firewire
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Thanassis Avgerinos 7b8c7bd229 firewire: nosy: ensure user_length is taken into account when fetching packet contents
commit 38762a0763c10c24a4915feee722d7aa6e73eb98 upstream.

Ensure that packet_buffer_get respects the user_length provided. If
the length of the head packet exceeds the user_length, packet_buffer_get
will now return 0 to signify to the user that no data were read
and a larger buffer size is required. Helps prevent user space overflows.

Signed-off-by: Thanassis Avgerinos <thanassis.avgerinos@gmail.com>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-05-17 11:43:54 +02:00
..
core-card.c
core-cdev.c
core-device.c
core-iso.c
core-topology.c
core-transaction.c
core.h
init_ohci1394_dma.c
Kconfig
Makefile
net.c
nosy-user.h
nosy.c firewire: nosy: ensure user_length is taken into account when fetching packet contents 2024-05-17 11:43:54 +02:00
nosy.h
ohci.c
ohci.h
sbp2.c