public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/53998] New: [PATCH] fixed format string issue in gcc/libgo/runtime/goc2c.c
@ 2012-07-17 14:19 ettl.martin at gmx dot de
2022-12-01 1:19 ` [Bug go/53998] " pinskia at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: ettl.martin at gmx dot de @ 2012-07-17 14:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53998
Bug #: 53998
Summary: [PATCH] fixed format string issue in
gcc/libgo/runtime/goc2c.c
Classification: Unclassified
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
AssignedTo: ian@airs.com
ReportedBy: ettl.martin@gmx.de
Created attachment 27815
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27815
proposed patch
Please review the attached patch. It fixes two format string issue in file:
gcc/libgo/runtime/goc2c.c
This patch replaces the format string in an printf expression from %d to %u:
printf("#line %d \"%s\"\n", lineno, file);
because the variable lineno is of type unsigned int, which requires %u.
Best regards
Ettl Martin
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug go/53998] [PATCH] fixed format string issue in gcc/libgo/runtime/goc2c.c
2012-07-17 14:19 [Bug go/53998] New: [PATCH] fixed format string issue in gcc/libgo/runtime/goc2c.c ettl.martin at gmx dot de
@ 2022-12-01 1:19 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-01 1:19 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53998
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Target Milestone|--- |8.0
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
libgo/runtime/goc2c.c was removed in GCC 8 by r8-548-gf163907e0afadf
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-12-01 1:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-17 14:19 [Bug go/53998] New: [PATCH] fixed format string issue in gcc/libgo/runtime/goc2c.c ettl.martin at gmx dot de
2022-12-01 1:19 ` [Bug go/53998] " pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).