Hello community, here is the log from the commit of package weechat for openSUSE:Factory checked in at 2017-09-26 21:15:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/weechat (Old) and /work/SRC/openSUSE:Factory/.weechat.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "weechat" Tue Sep 26 21:15:39 2017 rev:44 rq:528584 version:1.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/weechat/weechat.changes 2017-06-26 15:56:45.677604401 +0200 +++ /work/SRC/openSUSE:Factory/.weechat.new/weechat.changes 2017-09-26 21:17:24.265242533 +0200 @@ -1,0 +2,6 @@ +Mon Sep 25 07:58:50 UTC 2017 - tchva...@suse.com + +- Version update to 1.9.1: + * Security update to fix CVE-2017-14727 bsc#1060140 + +------------------------------------------------------------------- Old: ---- weechat-1.9.tar.xz weechat-1.9.tar.xz.asc New: ---- weechat-1.9.1.tar.xz weechat-1.9.1.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ weechat.spec ++++++ --- /var/tmp/diff_new_pack.gEk6Wt/_old 2017-09-26 21:17:25.105124454 +0200 +++ /var/tmp/diff_new_pack.gEk6Wt/_new 2017-09-26 21:17:25.105124454 +0200 @@ -17,7 +17,7 @@ Name: weechat -Version: 1.9 +Version: 1.9.1 Release: 0 Summary: Portable, Fast, Light and Extensible Chat Client License: GPL-3.0+ @@ -56,7 +56,6 @@ # without scripts it is bit annoying Recommends: %{name}-perl = %{version} Recommends: %{name}-python = %{version} -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description WeeChat (Wee Enhanced Environment for Chat) is a fast and light cross-platform @@ -167,7 +166,6 @@ %icon_theme_cache_postun %files -%defattr(-,root,root) %doc AUTHORS.adoc ChangeLog.adoc Contributing.adoc COPYING %doc README.adoc ReleaseNotes.adoc %{_bindir}/weechat-curses @@ -189,39 +187,30 @@ %{_datadir}/icons/hicolor/*/apps/weechat.png %files -f "%{name}.lang" lang -%defattr(-,root,root) %files devel -%defattr(-,root,root) %{_includedir}/weechat %{_libdir}/pkgconfig/weechat.pc %files guile -%defattr(-,root,root) %{_libdir}/weechat/plugins/guile.so %files lua -%defattr(-,root,root) %{_libdir}/weechat/plugins/lua.so %files perl -%defattr(-,root,root) %{_libdir}/weechat/plugins/perl.so %files python -%defattr(-,root,root) %{_libdir}/weechat/plugins/python.so %files tcl -%defattr(-,root,root) %{_libdir}/weechat/plugins/tcl.so %files ruby -%defattr(-,root,root) %{_libdir}/weechat/plugins/ruby.so %files aspell -%defattr(-,root,root) %{_libdir}/weechat/plugins/aspell.so %changelog ++++++ weechat-1.9.tar.xz -> weechat-1.9.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weechat-1.9/ChangeLog.adoc new/weechat-1.9.1/ChangeLog.adoc --- old/weechat-1.9/ChangeLog.adoc 2017-06-25 10:20:52.000000000 +0200 +++ new/weechat-1.9.1/ChangeLog.adoc 2017-09-23 13:08:45.000000000 +0200 @@ -15,6 +15,15 @@ (file _ReleaseNotes.adoc_ in sources). +[[v1.9.1]] +== Version 1.9.1 (2017-09-23) + +Bug fixes:: + + * buflist: fix crash in auto-scroll of bar when the buflist item is not the first item in the bar + * logger: call strftime before replacing buffer local variables + * relay: fix send of "PART" command in backlog (irc protocol) + [[v1.9]] == Version 1.9 (2017-06-25) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weechat-1.9/ReleaseNotes.adoc new/weechat-1.9.1/ReleaseNotes.adoc --- old/weechat-1.9/ReleaseNotes.adoc 2017-06-25 10:20:52.000000000 +0200 +++ new/weechat-1.9.1/ReleaseNotes.adoc 2017-09-23 13:08:45.000000000 +0200 @@ -17,6 +17,11 @@ (file _ChangeLog.adoc_ in sources). +[[v1.9.1]] +== Version 1.9.1 (2017-09-23) + +Bug fix and maintenance release. + [[v1.9]] == Version 1.9 (2017-06-25) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weechat-1.9/src/plugins/buflist/buflist-bar-item.c new/weechat-1.9.1/src/plugins/buflist/buflist-bar-item.c --- old/weechat-1.9/src/plugins/buflist/buflist-bar-item.c 2017-06-25 10:20:52.000000000 +0200 +++ new/weechat-1.9.1/src/plugins/buflist/buflist-bar-item.c 2017-09-23 13:08:45.000000000 +0200 @@ -104,8 +104,11 @@ if (!items_subcount || (items_subcount[0] <= 0)) return 0; items_name = weechat_hdata_pointer (buflist_hdata_bar, bar, "items_name"); - if (!items_name || (strcmp (items_name[0][0], BUFLIST_BAR_ITEM_NAME) != 0)) + if (!items_name || !items_name[0] || !items_name[0][0] + || (strcmp (items_name[0][0], BUFLIST_BAR_ITEM_NAME) != 0)) + { return 0; + } /* OK, bar can be scrolled! */ return 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weechat-1.9/src/plugins/logger/logger.c new/weechat-1.9.1/src/plugins/logger/logger.c --- old/weechat-1.9/src/plugins/logger/logger.c 2017-06-25 10:20:52.000000000 +0200 +++ new/weechat-1.9.1/src/plugins/logger/logger.c 2017-09-23 13:08:45.000000000 +0200 @@ -295,71 +295,71 @@ char * logger_get_mask_expanded (struct t_gui_buffer *buffer, const char *mask) { - char *mask2, *mask_decoded, *mask_decoded2, *mask_decoded3, *mask_decoded4; - char *mask_decoded5; + char *mask2, *mask3, *mask4, *mask5, *mask6, *mask7; const char *dir_separator; int length; time_t seconds; struct tm *date_tmp; mask2 = NULL; - mask_decoded = NULL; - mask_decoded2 = NULL; - mask_decoded3 = NULL; - mask_decoded4 = NULL; - mask_decoded5 = NULL; + mask3 = NULL; + mask4 = NULL; + mask5 = NULL; + mask6 = NULL; + mask7 = NULL; dir_separator = weechat_info_get ("dir_separator", ""); if (!dir_separator) return NULL; + /* replace date/time specifiers in mask */ + length = strlen (mask) + 256 + 1; + mask2 = malloc (length); + if (!mask2) + goto end; + seconds = time (NULL); + date_tmp = localtime (&seconds); + mask2[0] = '\0'; + if (strftime (mask2, length - 1, mask, date_tmp) == 0) + mask2[0] = '\0'; + /* * we first replace directory separator (commonly '/') by \01 because * buffer mask can contain this char, and will be replaced by replacement * char ('_' by default) */ - mask2 = weechat_string_replace (mask, dir_separator, "\01"); - if (!mask2) + mask3 = weechat_string_replace (mask2, dir_separator, "\01"); + if (!mask3) goto end; - mask_decoded = weechat_buffer_string_replace_local_var (buffer, mask2); - if (!mask_decoded) + mask4 = weechat_buffer_string_replace_local_var (buffer, mask3); + if (!mask4) goto end; - mask_decoded2 = weechat_string_replace (mask_decoded, - dir_separator, - weechat_config_string (logger_config_file_replacement_char)); - if (!mask_decoded2) + mask5 = weechat_string_replace (mask4, + dir_separator, + weechat_config_string (logger_config_file_replacement_char)); + if (!mask5) goto end; #ifdef __CYGWIN__ - mask_decoded3 = weechat_string_replace (mask_decoded2, "\\", - weechat_config_string (logger_config_file_replacement_char)); + mask6 = weechat_string_replace (mask5, "\\", + weechat_config_string (logger_config_file_replacement_char)); #else - mask_decoded3 = strdup (mask_decoded2); + mask6 = strdup (mask5); #endif /* __CYGWIN__ */ - if (!mask_decoded3) + if (!mask6) goto end; /* restore directory separator */ - mask_decoded4 = weechat_string_replace (mask_decoded3, - "\01", dir_separator); - if (!mask_decoded4) - goto end; - - /* replace date/time specifiers in mask */ - length = strlen (mask_decoded4) + 256 + 1; - mask_decoded5 = malloc (length); - if (!mask_decoded5) + mask7 = weechat_string_replace (mask6, + "\01", dir_separator); + if (!mask7) goto end; - seconds = time (NULL); - date_tmp = localtime (&seconds); - mask_decoded5[0] = '\0'; - strftime (mask_decoded5, length - 1, mask_decoded4, date_tmp); /* convert to lower case? */ if (weechat_config_boolean (logger_config_file_name_lower_case)) - weechat_string_tolower (mask_decoded5); + weechat_string_tolower (mask7); if (weechat_logger_plugin->debug) { @@ -368,22 +368,22 @@ "decoded mask = \"%s\"", LOGGER_PLUGIN_NAME, weechat_buffer_get_string (buffer, "name"), - mask, mask_decoded5); + mask, mask7); } end: if (mask2) free (mask2); - if (mask_decoded) - free (mask_decoded); - if (mask_decoded2) - free (mask_decoded2); - if (mask_decoded3) - free (mask_decoded3); - if (mask_decoded4) - free (mask_decoded4); + if (mask3) + free (mask3); + if (mask4) + free (mask4); + if (mask5) + free (mask5); + if (mask6) + free (mask6); - return mask_decoded5; + return mask7; } /* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weechat-1.9/src/plugins/relay/irc/relay-irc.c new/weechat-1.9.1/src/plugins/relay/irc/relay-irc.c --- old/weechat-1.9/src/plugins/relay/irc/relay-irc.c 2017-06-25 10:20:52.000000000 +0200 +++ new/weechat-1.9.1/src/plugins/relay/irc/relay-irc.c 2017-09-23 13:08:45.000000000 +0200 @@ -906,6 +906,7 @@ (ptr_host) ? "!" : "", (ptr_host) ? ptr_host : "", channel); + break; case RELAY_IRC_CMD_QUIT: relay_irc_sendf (client, "%s:%s%s%s QUIT", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/weechat-1.9/version.sh new/weechat-1.9.1/version.sh --- old/weechat-1.9/version.sh 2017-06-25 10:20:52.000000000 +0200 +++ new/weechat-1.9.1/version.sh 2017-09-23 13:08:45.000000000 +0200 @@ -32,9 +32,9 @@ # devel-patch the patch version of devel (e.g. 2 for version 1.4.2) # -WEECHAT_STABLE=1.9 -WEECHAT_DEVEL=1.9 -WEECHAT_DEVEL_FULL=1.9 +WEECHAT_STABLE=1.9.1 +WEECHAT_DEVEL=1.9.1 +WEECHAT_DEVEL_FULL=1.9.1 if [ $# -lt 1 ]; then echo >&2 "Syntax: $0 stable|devel|devel-full|devel-major|devel-minor|devel-patch"