Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
504c8bf2
Commit
504c8bf2
authored
Mar 05, 2015
by
Tomasz Wlostowski
Committed by
Maciej Suminski
Mar 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
router: fix segfault on misnamed DP complementary net
parent
6a016742
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
pns_diff_pair_placer.cpp
pcbnew/router/pns_diff_pair_placer.cpp
+8
-2
No files found.
pcbnew/router/pns_diff_pair_placer.cpp
View file @
504c8bf2
...
@@ -485,8 +485,14 @@ bool PNS_DIFF_PAIR_PLACER::findDpPrimitivePair( const VECTOR2I& aP, PNS_ITEM* aI
...
@@ -485,8 +485,14 @@ bool PNS_DIFF_PAIR_PLACER::findDpPrimitivePair( const VECTOR2I& aP, PNS_ITEM* aI
netNameP
=
netNameBase
+
suffix
;
netNameP
=
netNameBase
+
suffix
;
}
}
int
netP
=
brd
->
FindNet
(
netNameP
)
->
GetNet
();
NETINFO_ITEM
*
netInfoP
=
brd
->
FindNet
(
netNameP
);
int
netN
=
brd
->
FindNet
(
netNameN
)
->
GetNet
();
NETINFO_ITEM
*
netInfoN
=
brd
->
FindNet
(
netNameN
);
if
(
!
netInfoP
||
!
netInfoN
)
return
false
;
int
netP
=
netInfoP
->
GetNet
();
int
netN
=
netInfoN
->
GetNet
();
if
(
primP
)
if
(
primP
)
refNet
=
netN
;
refNet
=
netN
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment