Bug 617037
| Summary: | [abrt] crash in cvs-1.11.23-8.fc13: linevector_free: Process /usr/bin/cvs was killed by signal 11 (SIGSEGV) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joshua Rosen <bjrosen> | ||||
| Component: | cvs | Assignee: | Petr Pisar <ppisar> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 13 | CC: | ppisar, quetzalcoatl_99 | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| URL: | https://savannah.nongnu.org/bugs/index.php?30528 | ||||||
| Whiteboard: | abrt_hash:29bae33669b6ddf94490623ecb8dad953eba8f0c | ||||||
| Fixed In Version: | cvs-1.11.23-10.fc13 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-10-21 15:26:30 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Joshua Rosen
2010-07-22 02:36:59 UTC
Created attachment 433571 [details]
File: backtrace
Package: cvs-1.11.23-8.fc13 Architecture: x86_64 OS Release: Fedora release 13 (Goddard) Comment ----- cvs update: Updating common/v P common/v/latch_test_ctrl.v cvs update: checksum failure after patch to common/v/latch_test_ctrl.v; will refetch P common/v/test_ctrl.v cvs update: checksum failure after patch to common/v/test_ctrl.v; will refetch P common/v/test_ctrl_n.v Segmentation fault (core dumped) /* Free storage associated with linevector. */
static void
linevector_free (vec)
struct linevector *vec;
{
unsigned int ln;
if (vec->vector != NULL)
{
for (ln = 0; ln < vec->nlines; ++ln)
→ if (vec->vector[ln] && --vec->vector[ln]->refcount == 0)
free (vec->vector[ln]);
free (vec->vector);
}
}
It segfaults on derefencing vec->vector[ln]->refcount, while vec->vector[ln] != NULL but it's still invalid pointer.
Forwarding to upstream (see URL) as without data to reproduce it requires code review by somebody how knows the code very well. *** Bug 639400 has been marked as a duplicate of this bug. *** I believe this is instance of bug #645386 (corrupted CVS repository crashes CVS client) and it will be fixed in cvs-1.11.23-10.fc13. *** This bug has been marked as a duplicate of bug 645386 *** |