103Fermer105
Kevin KoflerLe 12/10/2003 à 22:04
Patch du linker envoyé à Sebastian:
--- special.c_	Tue Sep 16 18:12:42 2003
+++ special.c	Sun Oct 12 22:06:28 2003
@@ -233,7 +233,7 @@
 OFFSET GetStartupSectionNumber (const char *SectionName, SIZE MaxLen)
 {
 	// Check if it looks like a startup section.
-	if ((MaxLen > (SIZE) (sizeof ("_st"))) && (!(strncmp (SectionName, "_st", sizeof ("_st") - 1))))
+	if ((MaxLen > (SIZE) (sizeof ("_st") - 1)) && (!(strncmp (SectionName, "_st", sizeof ("_st") - 1))))
 	{
 		// Copy the section name to a temporary null-terminated location.
 		char SecName[MaxLen+1];

Mais le workaround est simple (cf. ./103).