From 2d6927c46c19deb1852423f8b9a3cd5d791a62ac Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Tue, 3 May 2005 03:48:47 +0000 Subject: [PATCH] fix out of bounds HighScoreList access --- stepmania/src/ScreenNameEntryTraditional.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/ScreenNameEntryTraditional.cpp b/stepmania/src/ScreenNameEntryTraditional.cpp index cc674e118f..9f30c3a312 100644 --- a/stepmania/src/ScreenNameEntryTraditional.cpp +++ b/stepmania/src/ScreenNameEntryTraditional.cpp @@ -354,7 +354,7 @@ void ScreenNameEntryTraditional::Init() PROFILEMAN->GetMachineProfile()->GetCourseHighScoreList(pCourse,pTrail) : PROFILEMAN->GetMachineProfile()->GetStepsHighScoreList(pSong,pSteps); - for( unsigned h=0; hm_iMaxHighScoresPerListForMachine; h++ ) { const HighScore &hs = hsl.vHighScores[h]; if( hs.sName == RANKING_TO_FILL_IN_MARKER[p] &&