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:
8b3d8fa
)
* gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size.
author
Alan Modra
<amodra@gmail.com>
Mon, 14 Mar 2005 12:32:02 +0000
(12:32 +0000)
committer
Alan Modra
<amodra@gmail.com>
Mon, 14 Mar 2005 12:32:02 +0000
(12:32 +0000)
gprof/ChangeLog
patch
|
blob
|
history
gprof/gmon_io.c
patch
|
blob
|
history
diff --git
a/gprof/ChangeLog
b/gprof/ChangeLog
index 16da34f84dfef309efe94658c3c858379b53f588..5f69f80651c62be9ca4dcaec5218c890161a6f2d 100644
(file)
--- a/
gprof/ChangeLog
+++ b/
gprof/ChangeLog
@@
-1,3
+1,7
@@
+2005-03-14 Alan Modra <amodra@bigpond.net.au>
+
+ * gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size.
+
2005-03-14 Alan Modra <amodra@bigpond.net.au>
* po/tr.po: Commit new Turkish translation.
diff --git
a/gprof/gmon_io.c
b/gprof/gmon_io.c
index 7218cee5fe911c0057b3f07c1ca3bde2234302ca..e0ae8859b8b3451b5aff949be93f530551173925 100644
(file)
--- a/
gprof/gmon_io.c
+++ b/
gprof/gmon_io.c
@@
-256,6
+256,9
@@
gmon_read_raw_arc (FILE *ifp, bfd_vma *fpc, bfd_vma *spc, unsigned long *cnt)
*cnt = cnt64;
break;
#endif
+
+ default:
+ return 1;
}
return 0;
}