
Dean DengandgVisor bot
c317e94de6
Add missing error checks for FileDescription.Init.
Syzkaller discovered this bug in pipefs by doing something quite strange:
creat(&(0x7f0000002a00)='./file1\x00', 0x0)
mount(&(0x7f0000000440)=ANY=[], &(0x7f00000002c0)='./file1\x00', &(0x7f0000000300)='devtmpfs\x00', 0x20000d, 0x0)
creat(&(0x7f0000000000)='./file1/file0\x00', 0x0)
This can be reproduced with:
touch mymount
mkfifo /dev/mypipe
mount -o ro -t devtmpfs devtmpfs mymount
echo 123 > mymount/mypipe
PiperOrigin-RevId: 349687714
2020-12-31 09:51:01 -08:00
..
2020-12-15 16:51:35 -08:00
2020-08-21 15:06:09 -07:00
2020-12-29 16:23:01 -08:00
2020-08-18 18:52:24 -07:00
2020-11-16 14:36:10 -08:00
2020-12-11 12:06:49 -08:00
2020-12-23 11:11:07 -08:00
2020-10-06 00:21:02 -07:00
2020-12-31 09:51:01 -08:00
2020-11-18 18:10:02 -08:00
2020-01-27 12:21:00 -08:00
2020-11-06 00:20:35 -08:00
2020-10-06 13:55:16 -07:00
2020-10-27 00:18:10 -07:00
2020-12-31 09:51:01 -08:00
2020-08-21 16:20:20 -07:00
2020-10-19 18:18:24 -07:00
2020-12-11 12:06:49 -08:00
2020-12-15 15:27:35 -08:00
2020-12-04 09:46:41 -08:00
2020-12-16 13:52:58 -08:00
2020-03-13 11:26:45 -07:00
2020-12-22 14:44:02 -08:00
2020-10-23 17:48:33 -07:00
2020-12-02 11:34:42 -08:00
2020-12-31 09:51:01 -08:00
2020-07-13 15:42:53 -07:00
2020-01-27 15:31:32 -08:00
2020-01-27 15:31:32 -08:00
2020-10-19 09:02:19 -07:00
2020-12-09 15:57:02 -08:00
2020-11-19 16:52:25 -08:00
2020-02-10 17:12:59 -08:00