Bug 155651
Summary: | segmentation fault using qt's QPtrList at() method | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Adrian Reber <adrian> |
Component: | qt | Assignee: | Than Ngo <than> |
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-04-28 10:39:27 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: |
Description
Adrian Reber
2005-04-22 08:50:51 UTC
Hm, it seems your test case is broken, the index is out of range in this case and get a NULL pointer here! it's why it crashes. Okay, then I have maybe misunderstood the documentation: "Returns a pointer to the item at position index in the list, or 0 if the index is out of range." I thought it means I get the element at position 0 but maybe it means I get NULL. If that's the case then it is my fault. |