Only if they linked with the deviant version. If they didn’t, they’d be
fine, running the same code that they tested against when they released it.
Fixing WDF doesn’t mean that any particular 3rd party driver is going to
benefit out of the box, which is what is being assumed when no testing goes
on. If testing DOES go on, we have to do it - which is the way it should be
- which means that we have to rerelease, which means that we could still
statically link.
This entire conversation revolves around the premise that MSFT can fix their
code and we’ll be fine, without testing. While the KMDF team’s record is
excellent, most of MSFT’s is not, IMO.
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, September 13, 2010 12:55 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] linking kmdf statically
And the counterpoint to this is that if this does happen, we can fix WDF in
one place at one point in time and address all of these vulnerable drivers
in one shot. If you statically linked, each driver would need to be
updated.
OP wrote:
That means that I cannot use kmdf 1.9 for static linking. Does that mean
that I cannot use kmdf 1.7 or kmdf 1.5? If it doesn’t, how could I do that?
You can use v1.5 or v1.7 but you must use the WDK that shipped with those
versions, not the windows 7 WDK.
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of M. M. O’Brien
Sent: Monday, September 13, 2010 9:45 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] linking kmdf statically
+1
I’d add that (IMO) dynamic linking itself presents a ‘better’ target for
attackers. That is, they could choose to target my driver that they’ve
never heard of, or they could target a known dll that impacts lots of
people, just like the case of the crt in user mode, so while it’s true that
you could get security updates via dll, you also (IMO) increase your attack
surface, not that being attacked is really all that big a concern (though
things changing out from under you is, IMO).
mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@osr.com
Sent: Monday, September 13, 2010 12:26 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] linking kmdf statically
The folks responsible for KMDF aren’t merely arbitrary… that, if nothing
else, should be clear from reading their numerous replies to this list.
I’ll try to frame the positions as best as I can:
The Microsoft position is that they want to be able to fix any serious
framework bugs that might be discovered in the field. This would not be
possible of a static-link option were allowed. Their contention is that any
driver should be upwardly-compatible across the range of KMDF revisions,
within a specific major version.
The position of some members of the the community (including me) is that a
static-linking option would be an asset, for a wide-variety of reasons. For
example, with a statically-linked driver you’d have the opportunity to build
and test your driver with a known, specific, defined, and not-to-be-changed
version of the Framework. This would eliminate the risk and variability of
rolling KMDF version upgrades.
The KMDF team at Microsoft appear to have heard this request from the
community, and they appear to understand our position. Apparently, however,
they do not feel that the benefit outweighs the potential cost of their not
being able to do Framework upgrades for that subset of drivers that would
choose to be statically linked.
They DO have a point, I have to admit. If there was a static linking
option, I – personally – can’t think of ANY time I’d choose to dynamically
link a commercial KMDF driver.
Peter
OSR
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
NTDEV is sponsored by OSR
For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer