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
484bc834
Commit
484bc834
authored
Aug 13, 2014
by
Andrew Zonenberg
Committed by
Wayne Stambaugh
Aug 13, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a c_str() to wxString conversion memory overflow bug.
parent
7e483f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
netlist.cpp
pcbnew/netlist.cpp
+4
-4
No files found.
pcbnew/netlist.cpp
View file @
484bc834
...
...
@@ -242,8 +242,8 @@ void PCB_EDIT_FRAME::loadFootprints( NETLIST& aNetlist, REPORTER* aReporter )
{
msg
.
Printf
(
_
(
"* Warning: component '%s' has footprint '%s' and should be '%s'
\n
"
),
GetChars
(
component
->
GetReference
()
),
fpOnBoard
->
GetFPID
().
GetFootprintName
().
c_str
(
),
component
->
GetFPID
().
GetFootprintName
().
c_str
(
)
);
GetChars
(
fpOnBoard
->
GetFPID
().
GetFootprintName
()
),
GetChars
(
component
->
GetFPID
().
GetFootprintName
()
)
);
aReporter
->
Report
(
msg
);
}
...
...
@@ -272,7 +272,7 @@ void PCB_EDIT_FRAME::loadFootprints( NETLIST& aNetlist, REPORTER* aReporter )
msg
.
Printf
(
_
(
"*** Warning: Component '%s' footprint ID '%s' is not "
"valid. ***
\n
"
),
GetChars
(
component
->
GetReference
()
),
component
->
GetFPID
().
GetFootprintName
().
c_str
(
)
);
GetChars
(
component
->
GetFPID
().
GetFootprintName
()
)
);
aReporter
->
Report
(
msg
);
}
...
...
@@ -294,7 +294,7 @@ void PCB_EDIT_FRAME::loadFootprints( NETLIST& aNetlist, REPORTER* aReporter )
msg
.
Printf
(
_
(
"*** Warning: component '%s' footprint '%s' was not found in "
"any libraries in the footprint library table. ***
\n
"
),
GetChars
(
component
->
GetReference
()
),
component
->
GetFPID
().
GetFootprintName
().
c_str
(
)
);
GetChars
(
component
->
GetFPID
().
GetFootprintName
()
)
);
aReporter
->
Report
(
msg
);
}
...
...
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