Conrad Meyer 333d028407 fsck_ffs: Don't overrun mount device buffer
Maybe this case is impossible.  Either way, when attempting to "/dev/"-prefix a
non-global device name, check that we do not overrun the f_mntfromname buffer.

In this case, truncating (with strlcpy or similar) would not be useful, since
the f_mntfromname result of getmntpt() is passed directly to open(2) later.

Reported by:	Coverity
CID:		1006789
Sponsored by:	EMC / Isilon Storage Division
2016-05-11 16:20:23 +00:00
..
2016-04-19 00:59:15 +00:00
2016-05-02 01:40:31 +00:00
2016-04-18 07:47:26 +00:00
MFH
2016-03-02 16:14:46 +00:00
2016-01-28 03:24:06 +00:00
MFH
2016-03-02 16:14:46 +00:00
MFH
2016-03-02 16:14:46 +00:00
2016-04-30 19:04:59 +00:00
2016-04-19 04:52:13 +00:00
2016-04-19 04:52:51 +00:00
MFH
2016-04-04 23:55:32 +00:00
MFH
2016-03-14 18:54:29 +00:00
MFH
2016-04-16 02:32:12 +00:00
2016-04-30 19:04:59 +00:00
MFH
2016-04-04 23:55:32 +00:00
2016-04-19 06:34:31 +00:00
MFH
2016-03-02 16:14:46 +00:00
2016-04-19 09:43:51 +00:00
2015-06-13 19:20:56 +00:00
2016-04-20 01:35:09 +00:00
2016-04-30 19:04:59 +00:00