projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b038f39
)
Re: ubsan: signed integer overflow in atof_generic
author
Alan Modra
<amodra@gmail.com>
Thu, 2 Jun 2022 09:12:01 +0000
(18:42 +0930)
committer
Alan Modra
<amodra@gmail.com>
Thu, 2 Jun 2022 09:12:01 +0000
(18:42 +0930)
Oops.
* atof-generic.c: Include limits.h.
gas/atof-generic.c
patch
|
blob
|
history
diff --git
a/gas/atof-generic.c
b/gas/atof-generic.c
index 9158319486810988b0ea8ffd6bd8a294ea132b53..1aee4fa80292d0499d66709eda2b33d588edf318 100644
(file)
--- 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 *);