linux-stable/drivers/staging
Gao Xiang a64d9493f5 staging: erofs: refuse to mount images with malformed volume name
As Richard reminder [1], A valid volume name should be
ended in NIL terminator within the length of volume_name.

Since this field currently isn't really used, let's fix
it to avoid potential bugs in the future.

[1] https://lore.kernel.org/r/1133002215.69049.1566119033047.JavaMail.zimbra@nod.at/

Reported-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Link: https://lore.kernel.org/r/20190818102824.22330-1-hsiangkao@aol.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-08-20 19:15:32 -07:00
..
android Merge 5.3-rc4 into staging-next 2019-08-12 07:41:14 +02:00
axis-fifo
board
clocking-wizard
comedi Merge 5.3-rc5 into staging-next 2019-08-19 07:13:42 +02:00
emxx_udc staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
erofs staging: erofs: refuse to mount images with malformed volume name 2019-08-20 19:15:32 -07:00
fbtft Merge 5.3-rc4 into staging-next 2019-08-12 07:41:14 +02:00
fieldbus Staging / IIO driver update for 5.3-rc1 2019-07-11 15:36:02 -07:00
fsl-dpaa2 staging: fsl-dpaa2/ethsw: do not force user to bring interface down 2019-08-14 16:46:25 +02:00
fwserial
gasket staging: gasket: Remove unnecessary line-breaks in function signatures 2019-08-18 08:51:11 +02:00
gdm724x
goldfish staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
greybus staging: greybus: remove redundant assignment to variable is_empty 2019-07-22 07:34:10 +02:00
gs_fpgaboot
iio staging: iio: ad2s1210: Use device-managed API 2019-07-27 22:52:06 +01:00
isdn staging: isdn: hysdn_procconf_init() remove parantheses from return value 2019-08-08 18:59:19 +02:00
kpc2000 Revert "staging: kpc2000: Convert put_page() to put_user_page*()" 2019-07-31 07:28:04 +02:00
ks7010
media staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
most staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
mt7621-dma staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
mt7621-dts staging: mt7621-dts: add support for second network interface 2019-07-03 18:28:29 +02:00
mt7621-pci staging: mt7621-pci: avoid use 'err' local variable 2019-07-25 09:58:26 +02:00
mt7621-pci-phy
mt7621-pinctrl staging: mt7621-pinctrl: Add of_node_put() before return 2019-07-22 07:34:15 +02:00
netlogic staging: netlogic: Change GFP_ATOMIC to GFP_KERNEL 2019-07-01 09:07:03 +02:00
nvec staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
octeon
octeon-usb
olpc_dcon staging: olpc_dcon: Remove TODO item 2019-07-30 09:52:04 +02:00
pi433
ralink-gdma staging: Remove dev_err() usage after platform_get_irq() 2019-07-30 20:50:04 +02:00
rtl8188eu Staging: rtl8188eu: core: rtw_security: tidy up crc32_init() 2019-08-08 18:59:18 +02:00
rtl8192e staging: rtl8192e: rtllib_crypt_ccmp.c: Use crypto API ccm(aes) 2019-08-18 08:51:11 +02:00
rtl8192u staging: rtl8192u: ieee80211: ieee80211_crypt_ccmp.c: Use crypto API ccm(aes) 2019-08-18 08:51:11 +02:00
rtl8712 Staging: rtl8712: rtl8712_recv: fixed 80 character length warning 2019-08-14 13:20:13 +02:00
rtl8723bs staging: rtl8723bs: remove redundant assignment to ret 2019-08-14 13:20:13 +02:00
rts5208 staging: rts5208: Simplify boolean expression to improve code style 2019-07-01 09:05:21 +02:00
sm750fb staging: sm750fb: fix odd license text 2019-08-15 14:43:57 +02:00
speakup
unisys staging: unisys: visornic: Update the description of 'poll_for_irq()' 2019-07-25 09:42:39 +02:00
vc04_services staging: bcm2835-camera: Spelling s/conencted/connected/ 2019-08-02 13:55:38 +02:00
vme
vt6655
vt6656 staging: vt6656: change alignment to match parenthesis 2019-07-22 07:34:15 +02:00
wilc1000 staging: wilc1000: return kernel error codes from wilc_wlan_stop 2019-08-12 16:35:39 +02:00
wlan-ng staging: wlan-ng: Remove function prism2mib_excludeunencrypted() 2019-08-02 13:55:38 +02:00
Kconfig
Makefile