warvair / peerblock

Automatically exported from code.google.com/p/peerblock
Other
0 stars 1 forks source link

Don't treat \??\C:\Windows\System32\... based pathnames as different from System32\... based pathnames #205

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When loading drivers, we currently just do a string-compare on the two
pathnames to determine whether or not a pre-existing driver-service has the
correct pathname we're expecting.  We get it wrong sometimes though,
because the following two pathnames are actually functionally identical for
our purposes, even though they won't successfully pass a simple string-compare:

1. \??\C:\WINDOWS\System32\DRIVERS\ipfltdrv.sys
2. System32\DRIVERS\ipfltdrv.sys

This can cause us to attempt to delete and recreate the Microsoft
IpFilterDriver service, which is something we should not do . . . and which
will cause us to fail to start if we try.  See this forum-thread for more
details: (http://forums.peerblock.com/read.php?3,2674).

Original issue reported on code.google.com by peerbloc...@gmail.com on 18 Nov 2009 at 4:28

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r294.

Original comment by peerbloc...@gmail.com on 19 Feb 2010 at 3:51

GoogleCodeExporter commented 9 years ago
Issue 202 has been merged into this issue.

Original comment by peerbloc...@gmail.com on 1 Mar 2010 at 6:21