Devon Kirk
cd0a8d29e4
irc-cap: limit number of unique CAP signals emitted
...
A malicious server can send an unbounded number of unique CAP tokens
in CAP LS, ACK, NAK, NEW, or DEL responses. Each unique token creates
a dynamic signal name via cap_emit_signal(), which is permanently
interned by the signal system via module_get_uniq_id_str(). Over time
this leaks memory without bound for the lifetime of the session.
Fix: skip signal emission once the server has advertised more than
256 unique CAP tokens. This is a generous bound; real servers advertise
10-50 caps.
2026-07-01 17:16:32 -04:00
Devon Kirk
283d846787
dcc-chat: cap CTCP body length used in dynamic signal name
...
The body of a CTCP message received over an established DCC CHAT
connection is concatenated into a dynamic signal name and emitted via
signal_emit. The first whitespace-separated token becomes the CTCP
command and the remainder is delivered to any matching handler as the
second argument, including loaded perl scripts.
While irssi itself does not crash on unknown signal names (the signal
system interns them and signal_emit returns FALSE for no-match), the
unbounded body length widens the attack surface for any perl script
that operates unsafely on the CTCP argument.
A 256-byte cap on the body that is concatenated into the signal name
limits the attack surface and aligns with the convention used for
CTCP-over-IRC handling.
2026-07-01 17:15:57 -04:00
ailin-nemui
43f1727ef9
Merge pull request #1611 from horgh/horgh/muon-meson-fmt-workflow
...
Add muon-meson fmt GitHub Actions workflow
2026-01-27 08:02:34 +00:00
William Storey
54bb34e14f
Add muon fmt GitHub Actions workflow
2026-01-26 21:02:10 -08:00
William Storey
7ca9fd5aee
Format root meson.build
2026-01-26 21:02:10 -08:00
Ailin Nemui
221d520c37
run meson formatter
2026-01-25 22:07:44 +01:00
ailin-nemui
80b8875fea
Merge pull request #1607 from ailin-nemui/gio-resolver-fixes
...
GResolver fixes
2026-01-25 18:22:20 +00:00
Ailin Nemui
88afc78aac
GResolver fixes
...
fix issues brought up by @horgh in #1580
2026-01-25 00:25:44 +01:00
ailin-nemui
00466fe5be
Merge pull request #1605 from ailin-nemui/gio-resolver-old
...
add compatibility code for older GResolver
2026-01-24 20:04:17 +00:00
ailin-nemui
64db7abcec
Merge pull request #1606 from ailin-nemui/comment-warning
...
fix space in end comment
2026-01-24 20:03:33 +00:00
Ailin Nemui
0157a4424b
fix clang-format-xs boot code
2026-01-24 20:53:29 +01:00
Ailin Nemui
00146211d0
fix space in end comment
2026-01-24 18:06:21 +01:00
Ailin Nemui
e9281b2f11
add compatibility code for older GResolver
2026-01-24 18:05:05 +01:00
ailin-nemui
3629a122c6
Merge pull request #1604 from ailin-nemui/perl-irc-dcc
...
make Irssi::Irc usable without dcc
2026-01-24 15:28:52 +00:00
Ailin Nemui
45d3013f9e
up abi
2026-01-24 14:27:18 +01:00
Ailin Nemui
a54677ce99
up perl api
2026-01-24 14:27:16 +01:00
Ailin Nemui
2012668bef
make Irssi::Irc usable without dcc
2026-01-24 14:27:16 +01:00
Ailin Nemui
51322d6af1
restore ip4_any
2026-01-24 13:53:23 +01:00
ailin-nemui
3c65684643
Merge pull request #1568 from nikolas/patch-2
...
Add a few more compile dependencies to INSTALL document
2026-01-23 21:18:17 +00:00
nikolas
c6d15ee461
Add a few more compile dependencies to INSTALL document
2026-01-23 22:17:39 +01:00
ailin-nemui
62031f5bdc
Merge pull request #1580 from ailin-nemui/gio-resolver
...
use GIO resolver
2026-01-23 20:42:55 +00:00
Ailin Nemui
e64ed836a5
up glib wrap
2026-01-23 21:21:10 +01:00
Ailin Nemui
51f2a4f7fb
use GIO resolver
...
change: rename resolve_prefer_ipv6 -> irssiproxy_prefer_ipv6
2026-01-23 21:21:10 +01:00
ailin-nemui
d5be7d7756
Merge pull request #1578 from ailin-nemui/cygwin
...
make compilation work on cygwin
2026-01-23 20:20:43 +00:00
ailin-nemui
81887a6224
Merge pull request #1599 from ailin-nemui/docs
...
run syncdocs.sh
2025-12-27 21:46:58 +00:00
ailin-nemui
97304bb7c0
Merge pull request #1600 from ailin-nemui/github
...
github actions: update package lists
2025-12-27 21:46:19 +00:00
Ailin Nemui
d30cdafcff
github actions: update package lists
2025-12-27 22:41:02 +01:00
Ailin Nemui
82b253f63e
run syncdocs.sh
...
added New-users and qna, removed faq and startup-HOWTO from sync
2025-12-27 22:35:23 +01:00
ailin-nemui
ebdf863925
Merge pull request #1597 from ailin-nemui/scripts
...
run syncscripts.sh
2025-12-27 19:42:18 +00:00
Ailin Nemui
d145f24c22
run syncscripts.sh
...
autoop 1.10 -> 1.11
mail 2.92 -> 2.93
scriptassist 2022053100 -> 2023111700
2025-12-27 20:41:26 +01:00
ailin-nemui
6c72dc14fa
Merge pull request #1594 from soulseller/fix/hide-text-style-colors
...
formats: fix hide_text_style and hide_colors to mitigate color bleed
2025-11-27 11:16:35 +00:00
soulseller
3811b1ffc9
formats: fix hide_text_style and hide_colors to mitigate color bleed
2025-11-27 00:59:18 +02:00
ailin-nemui
89dc74cbdd
Merge pull request #1591 from soulseller/fix/netsplit-nickname-truncation
...
fe-netsplit: fix nickname truncation to avoid trailing comma-space
2025-11-25 13:19:12 +00:00
ailin-nemui
bab97b4c0c
Merge pull request #1588 from arza-zara/patch-1
...
Increase default scrollback_lines
2025-11-25 12:23:40 +00:00
soulseller
5416843d2d
fe-netsplit: fix nickname truncation to avoid trailing comma-space
2025-11-23 15:15:24 +02:00
ailin-nemui
f4a4bcb4b8
Merge pull request #1590 from jremes-foss/lusers-in-typo-fix
...
Typo fix in docs/help/in/lusers.in
2025-11-22 15:08:00 +00:00
Juha Remes
3316202c48
Typo fix in docs/help/in/lusers.in
2025-11-22 14:27:53 +00:00
arza
f293277765
Increase default scrollback_lines
...
It seems common that people miss important messages when being away and want to increase the scrollback.
2025-09-23 00:01:54 +03:00
ailin-nemui
e70993c4b6
Merge pull request #1577 from ailin-nemui/glib276
...
replace str->str & g_string_free with g_string_free_and_steal
2025-07-26 17:32:43 +00:00
Ailin Nemui
989ddd8429
replace shared_module with shared_library
...
according to mesonbuild irc chat
2025-07-25 19:49:53 +02:00
Ailin Nemui
df8aa42778
make compilation work on cygwin
2025-07-25 16:20:28 +01:00
ailin-nemui
cc24b2c54c
Merge pull request #1579 from ailin-nemui/ghvoid
...
fix xbps github action
2025-07-25 14:48:09 +00:00
Ailin Nemui
d21ff2e658
fix xbps
2025-07-25 16:24:11 +02:00
Ailin Nemui
8eee36d1ea
replace str->str & g_string_free with g_string_free_and_steal
...
solving unused warning in GLib 2.76
2025-07-22 12:03:49 +02:00
ailin-nemui
995e77c30d
Merge pull request #1575 from irssi/hilight_syntax_update
...
Add -priority to hilight syntax line
2025-07-21 16:51:55 +00:00
ailin-nemui
216715bc81
Merge pull request #1576 from ailin-nemui/solaris
...
fix github solaris test
2025-07-21 16:51:40 +00:00
Ailin Nemui
9f0b2bc50d
detect third argument type of puts
2025-07-21 18:35:09 +02:00
Ailin Nemui
6276fe1a68
debug logging solarisvm prepare
2025-07-20 23:03:52 +02:00
Jari Matilainen
7681cb7585
Add -priority to hilight syntax line
2025-07-20 22:40:59 +02:00
ailin-nemui
aa285d45cd
Merge pull request #1572 from ailin-nemui/perl-redefined
...
fix _GNU_SOURCE redefined warning due to perl ccflags
2025-07-13 17:57:31 +00:00