[Kstars-devel] KDE/kdeedu/kstars/kstars

Akarsh Simha akarshsimha at gmail.com
Tue Jul 15 17:49:25 CEST 2008


SVN commit 832844 by asimha:

Fixing potential crash in binfilehelper.cpp

Thanks Patrick!

CCMAIL: kstars-devel at kde.org



 M  +1 -1      binfilehelper.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/binfilehelper.cpp #832843:832844
@@ -85,7 +85,7 @@
     rewind(fileHandle);
 
     fread(ASCII_text, 124, 1, fileHandle);
-    ASCII_text[125] = '\0';
+    ASCII_text[124] = '\0';
     headerText = ASCII_text;
 
     fread(&endian_id, 2, 1, fileHandle);


More information about the Kstars-devel mailing list