bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #65975] pre-html.cpp: null destination pointer [-Wformat-truncation


From: Bjarni Ingi Gislason
Subject: [bug #65975] pre-html.cpp: null destination pointer [-Wformat-truncation=]
Date: Wed, 10 Jul 2024 18:46:40 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?65975>

                 Summary: pre-html.cpp: null destination pointer
[-Wformat-truncation=]
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Wed 10 Jul 2024 10:46:40 PM UTC
                Category: Preprocessor html
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 10 Jul 2024 10:46:40 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: pre-html.cpp: null destination pointer [-Wformat-truncation=]

Directory: src/preproc/html

Source: git upstream

CC=/usr/bin/gcc-14 (gcc-14 (Debian 14-20240330-1) 14.0.1 20240330
(experimental) [master r14-9728-g6fc84f680d0]

[...]
  CXX      src/preproc/html/pre-html.o
../src/preproc/html/pre-html.cpp: In function 'char* make_string(const char*,
...)':
../src/preproc/html/pre-html.cpp:420:16: warning: null destination pointer
[-Wformat-truncation=]
  420 |   n = vsnprintf(p, size, fmt, ap);
      |       ~~~~~~~~~^~~~~~~~~~~~~~~~~~
[...]


  I don't get this warning.  I use the latest version of GNULIB and more
gnulib modules than upstream does.








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65975>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]