diff options
| author | Michael Brown | 2008-10-24 05:08:43 +0200 |
|---|---|---|
| committer | Michael Brown | 2008-10-24 05:08:43 +0200 |
| commit | 3fe6bede749e6e36d9dd321273472fe418fad56e (patch) | |
| tree | ca959718f121ff49cdb1157907d82d02933c5d81 /src/drivers/net/phantom | |
| parent | [phantom] Change register space abstraction to match other drivers (diff) | |
| download | ipxe-3fe6bede749e6e36d9dd321273472fe418fad56e.tar.gz ipxe-3fe6bede749e6e36d9dd321273472fe418fad56e.tar.xz ipxe-3fe6bede749e6e36d9dd321273472fe418fad56e.zip | |
[uri] Avoid interpreting DOS-style path names as opaque URIs
A DOS-style full path name such as "C:\Program Files\tftpboot\nbp.0"
satisfies the syntax requirements for a URI with a scheme of "C" and
an opaque portion of "\Program Files\tftpboot\nbp.0".
Add a check in parse_uri() to ignore schemes that are apparently only
a single character long; this avoids interpreting DOS-style paths in
this way, and shouldn't affect any practical URI scheme.
Diffstat (limited to 'src/drivers/net/phantom')
0 files changed, 0 insertions, 0 deletions
