a9a4ec0dcc
Fixes the following security issues: (a) When installing themes with unterminated colour formatting sequences, Irssi may access data beyond the end of the string. (CWE-126) Found by Hanno Böck. CVE-2017-15228 was assigned to this issue. (b) While waiting for the channel synchronisation, Irssi may incorrectly fail to remove destroyed channels from the query list, resulting in use after free conditions when updating the state later on. Found by Joseph Bisch. (CWE-416 caused by CWE-672) CVE-2017-15227 was assigned to this issue. (c) Certain incorrectly formatted DCC CTCP messages could cause NULL pointer dereference. Found by Joseph Bisch. This is a separate, but similar issue to CVE-2017-9468. (CWE-690) CVE-2017-15721 was assigned to this issue. (d) Overlong nicks or targets may result in a NULL pointer dereference while splitting the message. Found by Joseph Bisch. (CWE-690) CVE-2017-15723 was assigned to this issue. (e) In certain cases Irssi may fail to verify that a Safe channel ID is long enough, causing reads beyond the end of the string. Found by Joseph Bisch. (CWE-126) CVE-2017-15722 was assigned to this issue. For more details, see the advisory: https://irssi.org/security/irssi_sa_2017_10.txt While we're at it, also add a hash for the license file. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
################################################################################
|
|
#
|
|
# irssi
|
|
#
|
|
################################################################################
|
|
|
|
IRSSI_VERSION = 1.0.5
|
|
IRSSI_SOURCE = irssi-$(IRSSI_VERSION).tar.xz
|
|
# Do not use the github helper here. The generated tarball is *NOT* the
|
|
# same as the one uploaded by upstream for the release.
|
|
IRSSI_SITE = https://github.com/irssi/irssi/releases/download/$(IRSSI_VERSION)
|
|
IRSSI_LICENSE = GPL-2.0+
|
|
IRSSI_LICENSE_FILES = COPYING
|
|
IRSSI_DEPENDENCIES = host-pkgconf libglib2 ncurses openssl
|
|
|
|
IRSSI_CONF_OPTS = \
|
|
--disable-glibtest \
|
|
--without-perl
|
|
|
|
ifeq ($(BR2_PACKAGE_IRSSI_PROXY),y)
|
|
IRSSI_CONF_OPTS += --with-proxy
|
|
# If shared libs are disabled, 'proxy' has to go in the list of built-in
|
|
# modules.
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
IRSSI_CONF_OPTS += --with-modules=proxy
|
|
endif
|
|
else
|
|
IRSSI_CONF_OPTS += --without-proxy
|
|
endif # proxy
|
|
|
|
ifeq ($(BR2_PACKAGE_IRSSI_TRUE_COLOR),y)
|
|
IRSSI_CONF_OPTS += --enable-true-color
|
|
else
|
|
IRSSI_CONF_OPTS += --disable-true-color
|
|
endif
|
|
|
|
# Cross-compiling irssi with the perl interpreter enabled doesn't work
|
|
# yet. So, remove scripts as they are useless in that case.
|
|
define IRSSI_REMOVE_SCRIPTS
|
|
rm -rf $(TARGET_DIR)/usr/share/irssi/scripts/
|
|
endef
|
|
|
|
IRSSI_POST_INSTALL_TARGET_HOOKS += IRSSI_REMOVE_SCRIPTS
|
|
|
|
$(eval $(autotools-package))
|