https://sourceware.org/bugzilla/show_bug.cgi?id=31903

--- Comment #3 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jan Beulich <jbeul...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4ad2348edbf43a3d1a694fd5375680cb55e6b1c1

commit 4ad2348edbf43a3d1a694fd5375680cb55e6b1c1
Author: Jan Beulich <jbeul...@suse.com>
Date:   Fri Jun 21 08:32:53 2024 +0200

    gas: terminate buffer SB in do_repeat()

    PR gas/31903

    While elsewhere having realized that "one" doesn't point to a nul-
    terminated string, it somehow didn't occur to me that the pre-existing
    strstr() could have been wrong, and hence I blindly added a new use of
    the function. Add the (already prior to 1e3c814459d8 ["gas: extend \+
    support to .rept"]) missing call to sb_terminate(), leveraging that to
    simplify the other two places where the lack of nul termination was
    previously worked around.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to