[MPlayer-cvslog] CVS: main cpudetect.c,1.38,1.39
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Wed Jan 12 22:56:27 CET 2005
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv19028
Modified Files:
cpudetect.c
Log Message:
ensure null-termination after snprintf
Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- cpudetect.c 10 Jan 2005 18:33:51 -0000 1.38
+++ cpudetect.c 12 Jan 2005 21:56:25 -0000 1.39
@@ -246,6 +246,7 @@
}
}
}
+ retname[255] = 0;
//printf("Detected CPU: %s\n", retname);
return retname;
More information about the MPlayer-cvslog
mailing list