8 Commits

Author SHA1 Message Date
Acts1631
ce090b2855 whois: sanitize untrusted server output
WHOIS replies are written to the terminal without filtering control
characters. A malicious server or on-path attacker can use escape
sequences to manipulate the user's terminal.

Sanitize text after character-set conversion and reject referrals with
control characters before recursion. Sanitize referral status output as
well, so the response and referral paths both preserve ISO-2022-JP
conversion without passing terminal controls through.
2026-07-28 14:28:47 -04:00
Marco d'Itri
59a8760c31
Update the text of the GPL 2026-02-16 02:46:44 +01:00
Marco d'Itri
9b349a9c40
Add more missing SPDX license identifiers 2025-05-05 02:53:51 +02:00
Marco d'Itri
8079ab6f52 Remove the copyright years from the sources files 2023-12-10 12:08:46 +01:00
Marco d'Itri
c58b75e0a9 Fix some signedness-related warnings 2022-12-28 20:40:13 +01:00
Petr Písař
4c8e0be3ce Free memory on error in simple_recode()
Signed-off-by: Petr Písař <ppisar@redhat.com>
2013-12-26 07:48:10 +01:00
Marco d'Itri
dc3da63043 Imported Debian version 5.0.13 2013-03-30 02:31:41 +01:00
Marco d'Itri
15c8d523f7 Imported Debian version 5.0.0 2013-03-30 02:31:38 +01:00