|
Bugzilla – Full Text Bug Listing |
| Summary: | segfaults in nix-vector routing with bridges | ||
|---|---|---|---|
| Product: | ns-3 | Reporter: | scheibel1 |
| Component: | nix-vector | Assignee: | John Abraham <john.abraham.in> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jpelkey, ns-bugs, riley, tomh |
| Priority: | P5 | ||
| Version: | pre-release | ||
| Hardware: | All | ||
| OS: | All | ||
| Attachments: | patch | ||
changeset: c57bd30c65cf |
Created attachment 1435 [details] patch on the following lines: Ptr<Channel> chBridged = ndBridged->GetChannel (); if (channel == 0) { continue; } in nix-vector-routing.cc GetAdjacentNetDevices the 'if' statement should be checking 'chBridged' rather than 'channel'. Else there is the potential for this function to be recursively called with a null 'channel' param. Patch included.