proposed-migration for intelrdfpmath 2.0u2-8

Bug #2023683 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
intelrdfpmath (Debian)
Fix Released
Unknown
intelrdfpmath (Ubuntu)
Fix Released
Undecided
Steve Langasek

Bug Description

intelrdfpmath 2.0u2-8 is stuck in -proposed.

Steve Langasek (vorlon)
Changed in intelrdfpmath (Ubuntu):
assignee: nobody → Steve Langasek (vorlon)
Revision history for this message
Steve Langasek (vorlon) wrote :

x86_64-linux-gnu-gcc -O0 -D__intptr_t_defined -DLINUX -Werror -DDECIMAL_CALL_BY_REFERENCE=0 -DDECIMAL_GLOBAL_ROUNDING=0 -DDECIMAL_GLOBAL_EXCEPTION_FLAGS=0 -UBID_BIG_ENDIAN -UHPUX_OS -o readtest readtest.c ../LIBRARY/libbidgcc000.a -lm
readtest.c: In function ‘print_mismatch’:
readtest.c:1397:24: error: ‘ ’ directive writing 1 byte into a region of size between 0 and 1023 [-Werror=format-overflow=]
 1397 | sprintf (line, "%s %s %s %s\n", func, op1, op2, op3);
      | ^
readtest.c:1397:3: note: ‘sprintf’ output 5 or more bytes (assuming 3074) into a destination of size 1024
 1397 | sprintf (line, "%s %s %s %s\n", func, op1, op2, op3);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [makefile:126: readtest] Error 1

Let's just use snprintf().

Steve Langasek (vorlon)
Changed in intelrdfpmath (Ubuntu):
status: New → Fix Committed
Changed in intelrdfpmath (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package intelrdfpmath - 2.0u2-8ubuntu1

---------------
intelrdfpmath (2.0u2-8ubuntu1) mantic; urgency=medium

  * debian/patches/snprintf-not-sprintf.patch: use snprintf not sprintf
    to make the compiler happy. Closes LP: #2023683.

 -- Steve Langasek <email address hidden> Tue, 13 Jun 2023 17:39:53 +0000

Changed in intelrdfpmath (Ubuntu):
status: Fix Committed → Fix Released
Changed in intelrdfpmath (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.