Vladimir A. Nazarenko fb87ee96d7 Fix incorrect mount table entry parsing in __getmntent_r
When mount entry contains only four fields and have more then one space or
tab at the and, mp.mnt_freq and mp.mnt_passno will be set to some specific
values as side effect from parsing of previus mount entry. It is because
sscanf(""," %d %d ", &a, &b) returns -1, but this case is unprocessed.
Values of mp.mnt_freq and  mp.mnt_passno stays unchanged. This patch is
attempt to fix described issue by removing trailing tabs and spaces.
2015-01-06 19:51:01 -08:00
..
..
2009-01-23 20:41:36 +00:00
2004-09-25 06:49:33 +00:00
2012-01-07 23:57:22 -05:00
1999-06-09 13:08:30 +00:00
2006-06-17 17:01:42 +00:00
2012-01-07 23:57:22 -05:00