aMule Bug Tracker - aMule | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000439 | aMule | Misc | public | 2005-05-18 11:24 | 2005-05-20 02:03 |
| Reporter | eyalzo | ||||
| Assigned To | Kry | ||||
| Priority | normal | Severity | crash | Reproducibility | random |
| Status | resolved | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | 2.0.0 | ||||
| Target Version | Fixed in Version | SVN | |||
| Fixed in Revision | |||||
| Operating System | |||||
| Summary | 0000439: Null pointers in ListenSocket.cpp | ||||
| Description | Under very heavy load, amule crashes because of null pointer . It's a matter of luck, because there is no resource-lock there, so checking a pointer just before using it just improve the chances not to crash. I saw that one of these crahses in ListenSocket.cpp was already fixed in 2.0.0final, but there is one more: Before: ~~~~~~~~ case OP_AICHFILEHASHREQ: { if (m_client->IsSupportingAICH() && reqfile->GetAICHHashset()->GetStatus() == AICH_HASHSETCOMPLETE && reqfile->GetAICHHashset()->HasValidMasterHash()) After: ~~~~~~~ case OP_AICHFILEHASHREQ: { if (m_client && reqfile && m_client->IsSupportingAICH() && reqfile->GetAICHHashset()->GetStatus() == AICH_HASHSETCOMPLETE && reqfile->GetAICHHashset()->HasValidMasterHash()) | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2005-05-18 11:24 | eyalzo | New Issue | |||
| 2005-05-18 11:29 | eyalzo | Note Added: 0000977 | |||
| 2005-05-19 01:14 | Kry | Status | new => assigned | ||
| 2005-05-19 01:14 | Kry | Assigned To | => Kry | ||
| 2005-05-19 01:14 | Kry | Note Added: 0000979 | |||
| 2005-05-19 01:14 | Kry | Status | assigned => acknowledged | ||
| 2005-05-19 02:03 | Kry | Note Added: 0000981 | |||
| 2005-05-19 02:06 | Kry | Note Edited: 0000981 | |||
| 2005-05-19 07:10 | eyalzo | Note Added: 0000982 | |||
| 2005-05-20 02:03 | Kry | Status | acknowledged => resolved | ||
| 2005-05-20 02:03 | Kry | Fixed in Version | => CVS | ||
| 2005-05-20 02:03 | Kry | Resolution | open => fixed | ||
| 2005-05-20 02:03 | Kry | Note Added: 0000985 | |||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||