gcov-tool: Do not segfault in merge operation (PR
PR gcov-profile/67097 * libgcov-util.c (gcov_profile_merge): Skip missing files. From-SVN: r239478
This commit is contained in:
parent
3835914115
commit
2e6fc1acd0
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2016-08-15 Gilles Gouaillardet <gilles.gouaillardet@gmail.com>
|
||||
|
||||
PR gcov-profile/67097
|
||||
* libgcov-util.c (gcov_profile_merge): Skip missing files.
|
||||
|
||||
2016-08-10 Martin Liska <mliska@suse.cz>
|
||||
|
||||
PR gcov-profile/58306
|
||||
|
|
|
@ -673,6 +673,7 @@ gcov_profile_merge (struct gcov_info *tgt_profile, struct gcov_info *src_profile
|
|||
{
|
||||
gi_ptr = in_src_not_tgt[i];
|
||||
gcov_merge (gi_ptr, gi_ptr, w2 - 1);
|
||||
gi_ptr->next = NULL;
|
||||
tgt_tail->next = gi_ptr;
|
||||
tgt_tail = gi_ptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue