From cc289950a8ca33c4149bd4b625273de675c6faae707621fb09974e7e11b8a671 Mon Sep 17 00:00:00 2001 From: Guido Berhoerster Date: Thu, 17 Feb 2011 09:27:43 +0000 Subject: [PATCH] - added weechat-0.3.4-fix-array-overflow.patch which fixes an array overflow OBS-URL: https://build.opensuse.org/package/show/server:irc/weechat?expand=0&rev=31 --- weechat-0.3.4-fix-array-overflow.patch | 11 +++++++++++ weechat.changes | 6 ++++++ weechat.spec | 2 ++ 3 files changed, 19 insertions(+) create mode 100644 weechat-0.3.4-fix-array-overflow.patch diff --git a/weechat-0.3.4-fix-array-overflow.patch b/weechat-0.3.4-fix-array-overflow.patch new file mode 100644 index 0000000..a11886c --- /dev/null +++ b/weechat-0.3.4-fix-array-overflow.patch @@ -0,0 +1,11 @@ +diff -urNp weechat-0.3.4.orig/src/plugins/scripts/lua/weechat-lua-api.c weechat-0.3.4/src/plugins/scripts/lua/weechat-lua-api.c +--- weechat-0.3.4.orig/src/plugins/scripts/lua/weechat-lua-api.c 2011-02-17 00:00:18.000000000 +0100 ++++ weechat-0.3.4/src/plugins/scripts/lua/weechat-lua-api.c 2011-02-17 00:00:58.000000000 +0100 +@@ -1258,7 +1258,6 @@ weechat_lua_api_config_reload_cb (void * + { + lua_argv[0] = (script_callback->data) ? script_callback->data : empty_arg; + lua_argv[1] = script_ptr2str (config_file); +- lua_argv[2] = NULL; + + rc = (int *) weechat_lua_exec (script_callback->script, + WEECHAT_SCRIPT_EXEC_INT, diff --git a/weechat.changes b/weechat.changes index b2de529..5479873 100644 --- a/weechat.changes +++ b/weechat.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 17 08:02:54 UTC 2011 - gber@opensuse.org + +- added weechat-0.3.4-fix-array-overflow.patch which fixes an + array overflow + ------------------------------------------------------------------- Sun Jan 16 15:08:54 UTC 2011 - pascal.bleser@opensuse.org diff --git a/weechat.spec b/weechat.spec index 904828b..54cc6d2 100644 --- a/weechat.spec +++ b/weechat.spec @@ -25,6 +25,7 @@ Source: http://www.weechat.org/files/src/weechat-%{version}.tar.bz2 Source1: weechat.desktop Patch1: weechat-0.3.3-fix-strftime.patch Patch2: weechat-0.3.4-remove-date-time.patch +Patch3: weechat-0.3.4-fix-array-overflow.patch URL: http://www.weechat.org Group: Productivity/Networking/IRC License: GNU General Public License (GPL) @@ -120,6 +121,7 @@ Spell-checking support for %{name}, using the aspell library. %setup -q %patch1 -p1 %patch2 +%patch3 -p1 %build export CFLAGS="%{optflags}"