forked from pool/hdparm
- added leak-fix.patch [bnc#538942]
OBS-URL: https://build.opensuse.org/package/show/Base:System/hdparm?expand=0&rev=8
This commit is contained in:
parent
67b444a9e8
commit
53300a0728
11
hdparm-9.22-leak-fix.patch
Normal file
11
hdparm-9.22-leak-fix.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- hdparm.c 2009-09-16 17:10:58.000000000 +0200
|
||||||
|
+++ hdparm.c 2009-08-02 22:08:56.000000000 +0200
|
||||||
|
@@ -880,7 +880,7 @@
|
||||||
|
{
|
||||||
|
__u64 start_lba;
|
||||||
|
int i, err, shortened = 0;
|
||||||
|
- char *fdevname = strdup(devname);
|
||||||
|
+ char *fdevname = strdupa(devname);
|
||||||
|
|
||||||
|
err = get_dev_geometry(fd, NULL, NULL, NULL, &start_lba, NULL);
|
||||||
|
if (err)
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 16 17:12:55 CEST 2009 - mseben@novell.com
|
||||||
|
|
||||||
|
- added leak-fix.patch [bnc#538942]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 12 14:10:47 CEST 2009 - mseben@suse.cz
|
Wed Aug 12 14:10:47 CEST 2009 - mseben@suse.cz
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user