From c77a956e015d171d920f8acd19a7adf3e5af18a2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 27 May 2007 14:21:42 +0000 Subject: Fix for bug #1726330: "SCUMM engine abuses stack" from same bugreport. svn-id: r26974 --- engines/scumm/detection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm/detection.cpp') diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index d9ac3e42df..79f453b68b 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -319,6 +319,7 @@ static void computeGameSettingsFromMD5(const FSList &fslist, const GameFilenameP static void detectGames(const FSList &fslist, Common::List &results, const char *gameid) { DescMap fileMD5Map; DetectorResult dr; + char md5str[32+1]; for (FSList::const_iterator file = fslist.begin(); file != fslist.end(); ++file) { if (!file->isDirectory()) { @@ -369,7 +370,6 @@ static void detectGames(const FSList &fslist, Common::List &resu // DetectorDesc &d = fileMD5Map[file]; if (d.md5.empty()) { - char md5str[32+1]; if (Common::md5_file_string(d.node, md5str, kMD5FileSizeLimit)) { d.md5 = md5str; -- cgit v1.2.3 From 218e132e37017b64a61cce53c5dd26267a81784a Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 30 May 2007 21:56:52 +0000 Subject: Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots svn-id: r27024 --- engines/scumm/detection.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'engines/scumm/detection.cpp') diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index 79f453b68b..da5419c904 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -1,6 +1,8 @@ -/* ScummVM - Scumm Interpreter - * Copyright (C) 2001 Ludvig Strigeus - * Copyright (C) 2001-2007 The ScummVM project +/* ScummVM - Graphic Adventure Engine + * + * ScummVM is the legal property of its developers, whose names + * are too numerous to list here. Please refer to the COPYRIGHT + * file distributed with this source distribution. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License -- cgit v1.2.3