
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-17 08:47:24 -08:00
2020-09-15 15:14:53 -07:00
2020-04-01 11:06:26 -07:00
2020-11-03 15:23:32 -08:00
2020-09-22 17:56:40 -07:00
2020-05-28 14:49:06 -07:00
2020-06-23 23:34:06 -07:00
2020-10-23 17:48:33 -07:00
2020-12-11 15:43:22 -08:00
2020-12-15 16:51:35 -08:00
2020-12-03 14:47:16 -08:00
2020-10-19 16:28:40 -07:00
2020-09-04 11:42:02 -07:00
2020-11-13 01:56:23 -08:00
2020-08-20 13:32:24 -07:00
2020-12-09 15:51:33 -08:00
2020-06-23 23:34:06 -07:00
2020-11-19 14:29:34 -08:00
2020-06-23 23:34:06 -07:00
2020-07-15 15:05:32 -07:00
2020-05-20 18:35:32 -07:00
2020-09-15 13:19:36 -07:00
2020-12-11 12:06:49 -08:00
2020-09-29 18:08:07 -07:00
2020-12-11 16:06:01 -08:00
2020-10-19 16:28:40 -07:00
2020-12-11 12:06:49 -08:00
2020-12-11 12:06:49 -08:00
2020-08-24 12:58:39 -07:00
2020-10-28 18:23:29 -07:00
2020-12-11 15:55:41 -08:00
2020-04-09 11:03:43 -07:00
2020-12-11 12:06:49 -08:00
2020-12-11 12:06:49 -08:00
2020-12-11 12:06:49 -08:00
2020-12-31 09:51:01 -08:00
2020-12-14 21:18:06 -08:00
2020-12-02 19:08:32 -08:00
2020-12-11 12:06:49 -08:00
2020-12-11 12:06:49 -08:00
2020-12-02 19:08:32 -08:00
2020-12-11 12:06:49 -08:00
2020-09-16 12:19:30 -07:00
2020-12-22 14:44:02 -08:00
2020-12-29 18:29:12 -08:00
2020-11-03 15:23:32 -08:00
2020-12-29 16:23:01 -08:00
2020-12-11 12:06:49 -08:00
2020-12-03 06:20:29 -08:00