- 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:
Michal Seben 2009-09-16 15:14:52 +00:00 committed by Git OBS Bridge
parent 67b444a9e8
commit 53300a0728
2 changed files with 16 additions and 0 deletions

View 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)

View File

@ -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