|
Bugzilla – Full Text Bug Listing |
| Summary: | CcnClientHelper m_files is never cleared | ||
|---|---|---|---|
| Product: | dce | Reporter: | Emilio Mancini <emilio.mancini> |
| Component: | other | Assignee: | Emilio Mancini <emilio.mancini> |
| Status: | CLOSED FIXED | ||
| Severity: | minor | CC: | ns-bugs, tazaki |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Attachments: | Proposed patch | ||
Patch applied with changeset 530: 2faab8722e1b |
Created attachment 1728 [details] Proposed patch When reusing an instance of CcnClientHelper, it copies files also in nodes (files-n directories) where it should not. The problem could be that in ccn-client-helper.cc, the m_files field is updated when AddFile is called, but never cleared. The proposed fix is to clear it in the ResetEnvironment function, as in the attached patch file.