Commit 45a1dc5
committed
Fix possible method call on None object (CWE-476)
If we don't have current device parsed yet, doesn't make sense to
parse next lines of ifconfig output.1 parent 7a5f234 commit 45a1dc5
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments