[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Out-of-bounds read in term_ostream_create
From: |
Bruno Haible |
Subject: |
Re: [bug-gettext] Out-of-bounds read in term_ostream_create |
Date: |
Sat, 30 Sep 2017 13:45:13 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-93-generic; KDE/5.18.0; x86_64; ; ) |
Jakub Wilk wrote:
> gnulib-local/lib/term-ostream.oo.c contains the following expression:
>
> (strlen (term) >= 4 && memcmp (term, "rxvt", 7) == 0)
>
> This should be of course s/7/4/.
Indeed. It's so obvious, now that you report it. Fix pushed.
Bruno