Bug 118295 - [patch] ndiscvt(8) makes a syntax error when it processes STRING.
Summary: [patch] ndiscvt(8) makes a syntax error when it processes STRING.
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-28 02:00 UTC by Weongyo Jeong
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:


Attachments
file.diff (1.11 KB, patch)
2007-11-28 02:00 UTC, Weongyo Jeong
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Weongyo Jeong 2007-11-28 02:00:02 UTC
In some INF files, we can meet some texts to define a register key like below

"ENUM\"%ZD1211B_50U_PNP%

It makes a ndiscvt(8)'s syntax error when it parses because \" is treated as a character escape sequence.

How-To-Repeat: $ cat > t.inf
[UnZDRegistryUSB.reg]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\UNZD1211B%InterfaceType%,DEL_HKR_0000,0,"ENUM\"%ZD1211B_50U_PNP%
^D
$ ndiscvt -i t.inf -s ZD11BUXP.SYS -o tmp.h
ndiscvt: line 2: %ZD1211B_50U_PNP%: syntax error.
Comment 1 Andrew Thompson freebsd_committer 2007-12-28 01:10:36 UTC
Responsible Changed
From-To: freebsd-bugs->weongyo

Pass back to the new committer.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2013-07-03 01:50:32 UTC
State Changed
From-To: open->open

commit bit has been taken in for safekeeping. 


Comment 3 Mark Linimon freebsd_committer freebsd_triage 2013-07-03 01:50:32 UTC
Responsible Changed
From-To: weongyo->freebsd-bugs
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:37 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped