Quotes in attribute name or value make the PCB file unreadable.
Bug #1506204 reported by
Milan Prochac
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
High
|
Bert Timmerman |
Bug Description
When attributes are written into PCB file, strings are not sanitized. Quotes or backslashes in attribute name or attribute value lead to syntactically incorrect PCB file.
Solution: use existing PrintQuotedString function to sanitize attribute value and attribute name when PCB file is saved.
Fix is provided in attached patch.
Changed in pcb: | |
importance: | Undecided → High |
Changed in pcb: | |
status: | New → Triaged |
milestone: | none → next-bug-release |
assignee: | nobody → Bert Timmerman (bert-timmerman) |
Changed in pcb: | |
status: | Triaged → In Progress |
Changed in pcb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi,
I still need to triage this in more detail, however I consider breaking a pcb file with a couple of double quotes a bug of high importance.
I created a topic branch "LP1506204" in the pcb git repository.
Thanks for the patch.