qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [4843] Fix parse_long_name, by Tristan Gingold.
@ 2008-07-03 19:55 Thiemo Seufer
  0 siblings, 0 replies; only message in thread
From: Thiemo Seufer @ 2008-07-03 19:55 UTC (permalink / raw)
  To: qemu-devel

Revision: 4843
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4843
Author:   ths
Date:     2008-07-03 19:55:47 +0000 (Thu, 03 Jul 2008)

Log Message:
-----------
Fix parse_long_name, by Tristan Gingold.

Modified Paths:
--------------
    trunk/block-vvfat.c

Modified: trunk/block-vvfat.c
===================================================================
--- trunk/block-vvfat.c	2008-07-03 19:54:19 UTC (rev 4842)
+++ trunk/block-vvfat.c	2008-07-03 19:55:47 UTC (rev 4843)
@@ -1440,6 +1440,7 @@
 	lfn->sequence_number = pointer[0] & 0x3f;
 	lfn->checksum = pointer[13];
 	lfn->name[0] = 0;
+	lfn->name[lfn->sequence_number * 13] = 0;
     } else if ((pointer[0] & 0x3f) != --lfn->sequence_number)
 	return -1;
     else if (pointer[13] != lfn->checksum)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-07-03 19:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-03 19:55 [Qemu-devel] [4843] Fix parse_long_name, by Tristan Gingold Thiemo Seufer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).