[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ataraid-list
Subject:    Re: Ubuntu Patches [17/16]
From:       Phillip Susi <psusi () cfl ! rr ! com>
Date:       2011-03-19 17:55:06
Message-ID: 4D84EDFA.5020103 () cfl ! rr ! com
[Download RAW message or body]

[Attachment #2 (multipart/signed)]

[Attachment #4 (multipart/mixed)]


Repost: formalized the description and cleaned up stylistic errors


["21_jmicron_namefix.patch" (text/x-patch)]

From: Phillip Susi <psusi@cfl.rr.com>
Author: Danny Wood <danwood76@gmail.com>
Subject: Fix jmicron names again
Bug-Ubuntu: http://launchpad.net/bugs/576289
Last-Update: 2011-03-08
Description: Uninitialized variable prevented code from working
 as intended.
Index: b/1.0.0.rc16/lib/format/ataraid/jm.c
===================================================================
--- a/1.0.0.rc16/lib/format/ataraid/jm.c
+++ b/1.0.0.rc16/lib/format/ataraid/jm.c
@@ -25,7 +25,7 @@
 static char *
 name(struct lib_context *lc, struct raid_dev *rd, unsigned int subset)
 {
-	size_t i, len;
+	size_t i = JM_NAME_LEN - 1, len;
 	struct jm *jm = META(rd, jm);
 	char *ret, *name = (char *) jm->name;
 	char buf[JM_NAME_LEN + 1] = { '\0' };

["signature.asc" (application/pgp-signature)]

_______________________________________________
Ataraid-list mailing list
Ataraid-list@redhat.com
https://www.redhat.com/mailman/listinfo/ataraid-list

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic