projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[runtime] Fix reading past the end of a string when setting the native thread name.
[mono.git]
/
mono
/
dis
/
get.c
diff --git
a/mono/dis/get.c
b/mono/dis/get.c
old mode 100644
(file)
new mode 100755
(executable)
index
9c9ffaa
..
34f87b0
--- a/
mono/dis/get.c
+++ b/
mono/dis/get.c
@@
-2310,7
+2310,7
@@
get_constant (MonoImage *m, MonoTypeEnum t, guint32 blob_index)
#ifdef HAVE_ISFINITE
normal = isfinite (r);
#else
- normal =
isnormal
(r);
+ normal =
!dis_isinf (r) && !dis_isnan
(r);
#endif
if (!normal) {
return g_strdup_printf ("float32(0x%08x)", read32 (ptr));