[syslinux] [PATCH 1/2] msg: VGAFilePtr should be char
Patrick Masotta
masottaus at yahoo.com
Sat Aug 22 00:50:24 PDT 2015
I checked the code and I see the "bug" is in this line when the pointer VGAFilterPtr is uint16_t*
*VGAFilePtr++ = data;
Then the change is OK
I have also seen that this change is already included in the patch
quoted previously by Ady
http://www.syslinux.org/archives/2015-July/023835.html
...
--- a/core/graphics.c 2014-10-06 10:27:44.000000000 -0600
+++ b/core/graphics.c 2015-04-06 16:46:38.748928576 -0600
@@ -28,7 +28,11 @@
__export uint8_t UsingVGA = 0;
uint16_t VGAPos; /* Pointer into VGA memory */
-__export uint16_t *VGAFilePtr; /* Pointer into VGAFileBuf */
+
+//patmod Adrian fix on LSS16 filename being truncated
+//__export uint16_t *VGAFilePtr; /* Pointer into VGAFileBuf */
+__export char *VGAFilePtr; /* Pointer into VGAFileBuf */
...
If I were you I'd check the quoted code before sending changes that probably
are already addressed.
Best,
Patrick
More information about the Syslinux
mailing list