[Bug string/34398] New: Truncated strncpy on s390x z900 ifunc variant

"stli at linux dot ibm.com via Glibc-bugs" <[email protected]> Tue, 14 Jul 2026 08:51:17 +0000
Newsgroups gmane.comp.lib.glibc.bugs
Message-ID <[email protected]/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=3D34398

            Bug ID: 34398
           Summary: Truncated strncpy on s390x z900 ifunc variant
           Product: glibc
           Version: 2.43
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: stli at linux dot ibm.com
  Target Milestone: ---

On s390x, the z900 ifunc variant of strncpy uses a 32bit comparison for the
branch instruction responsible for looping the 8 byte chunks. This can lead
to truncation if the 8 byte chunk counter is >32bit.

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