1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-03-10 16:58:47 +03:00
Zdenek Kabelac fa1d730847 dev-type: fix TOCTOU order
Doing 'stat' checking first and later opening is racy.
And since we do not really care about any 'status' info
here and we read 'sysfs' here - just drop whole 'stat()'
call and directly handle error from failing 'fopen()'.
2015-11-09 10:19:20 +01:00
..
2015-11-09 10:19:19 +01:00
2015-11-09 10:19:19 +01:00
2015-11-03 11:07:27 -06:00
2015-11-09 10:19:20 +01:00
2015-10-22 22:46:10 +02:00
2015-10-23 10:54:13 +02:00
2015-07-06 15:09:17 +01:00
2014-10-30 23:58:49 +01:00
2015-09-18 14:19:32 +01:00