diff options
author | Alan Modra <amodra@gmail.com> | 2005-03-14 12:32:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-03-14 12:32:02 +0000 |
commit | 5ef6bac796736212fd2547acef4d948d224975dd (patch) | |
tree | 6ba4fe01f63610eb8c5bc2ff6c5a1d2aea43d382 /gprof | |
parent | 8b3d8fa8ac39a5cd9e127153b6cd32bb52d4ade2 (diff) | |
download | gdb-5ef6bac796736212fd2547acef4d948d224975dd.zip gdb-5ef6bac796736212fd2547acef4d948d224975dd.tar.gz gdb-5ef6bac796736212fd2547acef4d948d224975dd.tar.bz2 |
* gmon_io.c (gmon_write_raw_arc): Return 1 for invalid size.
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; } |