diff options
| author | 4con <[email protected]> | 2017-11-15 15:46:23 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-11-15 15:46:23 +0800 |
| commit | a74c2429e2e7162985d138237de5d68c966ef3f1 (patch) | |
| tree | b634f31f2521585c0638547832581afca4ce10db | |
| parent | cb9e75e84400e44c92c6f3f256ad834a2618c3d1 (diff) | |
Fix general/ioctl/kmdf/exe load wrong version of wdf controller dll.
At installer.c `LoadWdfCoInstaller` function always get wrong coinstallerVersion 01011, even used `-v version` command line args.
| -rw-r--r-- | general/ioctl/kmdf/exe/testapp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/general/ioctl/kmdf/exe/testapp.c b/general/ioctl/kmdf/exe/testapp.c index a645203e..4e230124 100644 --- a/general/ioctl/kmdf/exe/testapp.c +++ b/general/ioctl/kmdf/exe/testapp.c @@ -198,7 +198,8 @@ GetCoinstallerVersion( VOID ) { - if (FAILED( StringCchPrintf(G_coInstallerVersion, + if (!G_versionSpecified && + FAILED( StringCchPrintf(G_coInstallerVersion, MAX_VERSION_SIZE, "%02d%03d", // for example, "01009" KMDF_VERSION_MAJOR, |
