public inbox for binutils-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] Re: ubsan: signed integer overflow in atof_generic
@ 2022-06-02 9:13 Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2022-06-02 9:13 UTC (permalink / raw)
To: bfd-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6a031255cf1842447a143849e720349eb00533d2
commit 6a031255cf1842447a143849e720349eb00533d2
Author: Alan Modra <amodra@gmail.com>
Date: Thu Jun 2 18:42:01 2022 +0930
Re: ubsan: signed integer overflow in atof_generic
Oops.
* atof-generic.c: Include limits.h.
Diff:
---
gas/atof-generic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/gas/atof-generic.c b/gas/atof-generic.c
index 91583194868..1aee4fa8029 100644
--- a/gas/atof-generic.c
+++ b/gas/atof-generic.c
@@ -20,6 +20,7 @@
#include "as.h"
#include "safe-ctype.h"
+#include <limits.h>
#ifdef TRACE
static void flonum_print (const FLONUM_TYPE *);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-02 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-02 9:13 [binutils-gdb] Re: ubsan: signed integer overflow in atof_generic Alan Modra
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).