diff options
Diffstat (limited to 'gprof')
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rw-r--r-- | gprof/gmon_io.c | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 16da34f..5f69f80 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,5 +1,9 @@ 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. 2005-03-05 Alan Modra <amodra@bigpond.net.au> diff --git a/gprof/gmon_io.c b/gprof/gmon_io.c index 7218cee..e0ae885 100644 --- 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; } |