From fb87ee96d7dd0714d52004e4676629f8d9db732f Mon Sep 17 00:00:00 2001 From: "Vladimir A. Nazarenko" Date: Tue, 6 Jan 2015 19:19:44 -0800 Subject: 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. --- NEWS | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'NEWS') diff --git a/NEWS b/NEWS index acb611abf6..85828857a0 100644 --- a/NEWS +++ b/NEWS @@ -11,13 +11,13 @@ Version 2.21 6652, 10672, 12847, 12926, 13862, 14132, 14138, 14171, 14498, 15215, 15884, 16191, 16469, 16617, 16619, 16657, 16740, 16857, 17192, 17266, - 17344, 17363, 17370, 17371, 17411, 17460, 17475, 17485, 17501, 17506, - 17508, 17522, 17555, 17570, 17571, 17572, 17573, 17574, 17581, 17582, - 17583, 17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, 17630, - 17633, 17634, 17635, 17647, 17653, 17657, 17664, 17665, 17668, 17682, - 17717, 17719, 17722, 17723, 17724, 17725, 17732, 17733, 17744, 17745, - 17746, 17747, 17775, 17777, 17780, 17781, 17782, 17793, 17796, 17797, - 17806 + 17273, 17344, 17363, 17370, 17371, 17411, 17460, 17475, 17485, 17501, + 17506, 17508, 17522, 17555, 17570, 17571, 17572, 17573, 17574, 17581, + 17582, 17583, 17584, 17585, 17589, 17594, 17601, 17608, 17616, 17625, + 17630, 17633, 17634, 17635, 17647, 17653, 17657, 17664, 17665, 17668, + 17682, 17717, 17719, 17722, 17723, 17724, 17725, 17732, 17733, 17744, + 17745, 17746, 17747, 17775, 17777, 17780, 17781, 17782, 17793, 17796, + 17797, 17806 * i386 memcpy functions optimized with SSE2 unaligned load/store. -- cgit 1.4.1