Author: belegdol
Update of /cvs/nonfree/rpms/mame/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv5744
Modified Files:
mame.spec
Added Files:
mame-0.143u5-stacksmash.patch
Log Message:
Fixed stack smash in m68kmake.c
mame-0.143u5-stacksmash.patch:
m68kmake.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE mame-0.143u5-stacksmash.patch ---
diff -up mame-0.143u5/src/emu/cpu/m68000/m68kmake.c.stacksmash
mame-0.143u5/src/emu/cpu/m68000/m68kmake.c
--- mame-0.143u5/src/emu/cpu/m68000/m68kmake.c.stacksmash 2011-09-08 07:20:36.000000000
+0200
+++ mame-0.143u5/src/emu/cpu/m68000/m68kmake.c 2011-09-08 07:22:01.909095642 +0200
@@ -81,7 +81,7 @@ static const char g_version[] = "4.80";
#define MAX_BODY_LENGTH 300 /* Number of lines in 1 function */
#define MAX_REPLACE_LENGTH 30 /* Max number of replace strings */
#define MAX_INSERT_LENGTH 5000 /* Max size of insert piece */
-#define MAX_NAME_LENGTH 40 /* Max length of ophandler name */
+#define MAX_NAME_LENGTH 96 /* Max length of ophandler name */
#define MAX_SPEC_PROC_LENGTH 4 /* Max length of special processing str */
#define MAX_SPEC_EA_LENGTH 5 /* Max length of specified EA str */
#define EA_ALLOWED_LENGTH 11 /* Max length of ea allowed str */
Index: mame.spec
===================================================================
RCS file: /cvs/nonfree/rpms/mame/devel/mame.spec,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- mame.spec 6 Sep 2011 18:48:42 -0000 1.42
+++ mame.spec 8 Sep 2011 05:26:57 -0000 1.43
@@ -31,6 +31,7 @@
#Source6:
http://mamedev.org/updates/0%{baseversion}u6_diff.zip
%endif
Patch0: %{name}-fortify.patch
+Patch1: %{name}-0143u5-stacksmash.patch
Patch2: %{name}-verbosebuild.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -100,6 +101,7 @@
done
%endif
%patch0 -p1 -b .fortify
+%patch1 -p1 -b .stacksmash
%patch2 -p1 -b .verbosebuild
# Create ini file
@@ -253,6 +255,7 @@
%changelog
* Tue Sep 06 2011 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.143u5-1
- Updated to 0.143u5
+- Fixed stack smash in m68kmake.c
* Thu Aug 25 2011 Julian Sikorski <belegdol(a)fedoraproject.org> - 0.143u4-1
- Updated to 0.143u4