mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
* util/raid.c (grub_util_raid_getmembers): Close fd before returning.
Reported by: David Volgyes <dvolgyes>.
This commit is contained in:
1 parent
e061a1b537
commit
13548d26e9
2 files changed
+8
No files matched your search
@@ -1,3 +1,9 @@
|
|||||||
|
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/raid.c (grub_util_raid_getmembers): Close fd before returning.
|
||||||
|
|
||||||
|
Reported by: David Volgyes <dvolgyes>.
|
||||||
|
|
||||||
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/reed_solomon.c (rs_recover) [STANDALONE]:
|
* grub-core/lib/reed_solomon.c (rs_recover) [STANDALONE]:
|
||||||
|
|||||||
@@ -80,6 +80,8 @@ grub_util_raid_getmembers (const char *name)
|
|||||||
|
|
||||||
devicelist[j] = NULL;
|
devicelist[j] = NULL;
|
||||||
|
|
||||||
|
close (fd);
|
||||||
|
|
||||||
return devicelist;
|
return devicelist;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user