View | Details | Raw Unified | Return to bug 207562
Collapse All | Expand All

(-)irc/quassel/Makefile (-2 / +1 lines)
Lines 2-9 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	quassel
4
PORTNAME=	quassel
5
PORTVERSION=	0.12.2
5
PORTVERSION=	0.12.3
6
PORTREVISION=	2
7
CATEGORIES=	irc
6
CATEGORIES=	irc
8
MASTER_SITES=	http://www.quassel-irc.org/pub/
7
MASTER_SITES=	http://www.quassel-irc.org/pub/
9
8
(-)irc/quassel/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (quassel-0.12.2.tar.bz2) = 6bd6f79ecb88fb857bea7e89c767a3bd0f413ff01bae9298dd2e563478947897
1
SHA256 (quassel-0.12.3.tar.bz2) = 4d3ee91b85cce3d8df62faf55ad35bebd6fc45085ed6248b8a41d2858de3d434
2
SIZE (quassel-0.12.2.tar.bz2) = 3681838
2
SIZE (quassel-0.12.3.tar.bz2) = 3687078
(-)irc/quassel/files/patch-git_07847739 (-43 lines)
Lines 1-43 Link Here
1
commit 078477395aaec1edee90922037ebc8a36b072d90
2
Author: Armin K <krejzi@email.com>
3
Date:   Sat May 2 23:04:53 2015 +0200
4
5
    Fix build with Qt-5.5
6
7
    http://code.qt.io/cgit/qt/qtbase.git/commit/?id=ebef2ad1360c80ad62de5f4a1c4e7e4051725c1c
8
9
--- src/client/treemodel.cpp
10
+++ src/client/treemodel.cpp
11
@@ -556,10 +556,9 @@ void TreeModel::endAppendChilds()
12
     ChildStatus cs = _childStatus;
13
 #ifndef QT_NO_DEBUG
14
     QModelIndex parent = indexByItem(parentItem);
15
-#endif
16
     Q_ASSERT(cs.parent == parent);
17
     Q_ASSERT(rowCount(parent) == cs.childCount + cs.end - cs.start + 1);
18
-
19
+#endif
20
     _aboutToRemoveOrInsert = false;
21
     for (int i = cs.start; i <= cs.end; i++) {
22
         connectItem(parentItem->child(i));
23
@@ -605,9 +604,9 @@ void TreeModel::endRemoveChilds()
24
 #ifndef QT_NO_DEBUG
25
     ChildStatus cs = _childStatus;
26
     QModelIndex parent = indexByItem(parentItem);
27
-#endif
28
     Q_ASSERT(cs.parent == parent);
29
     Q_ASSERT(rowCount(parent) == cs.childCount - cs.end + cs.start - 1);
30
+#endif
31
     _aboutToRemoveOrInsert = false;
32
 
33
     endRemoveRows();
34
--- src/common/peer.h
35
+++ src/common/peer.h
36
@@ -22,6 +22,7 @@
37
 #define PEER_H
38
 
39
 #include <QAbstractSocket>
40
+#include <QDataStream>
41
 #include <QPointer>
42
 
43
 #include "authhandler.h"
(-)irc/quassel/files/patch-src_core_coreuserinputhandler.cpp (-12 lines)
Lines 1-12 Link Here
1
Fix CVE-2015-8547
2
--- src/core/coreuserinputhandler.cpp.orig	2015-04-23 20:47:17 UTC
3
+++ src/core/coreuserinputhandler.cpp
4
@@ -228,7 +228,7 @@ void CoreUserInputHandler::doMode(const 
5
     if (!isNumber || maxModes == 0) maxModes = 1;
6
 
7
     QStringList nickList;
8
-    if (nicks == "*") { // All users in channel
9
+    if (nicks == "*" && bufferInfo.type() == BufferInfo::ChannelBuffer) { // All users in channel
10
         const QList<IrcUser*> users = network()->ircChannel(bufferInfo.bufferName())->ircUsers();
11
         foreach(IrcUser *user, users) {
12
             if ((addOrRemove == '+' && !network()->ircChannel(bufferInfo.bufferName())->userModes(user).contains(mode))

Return to bug 207562