diff options
author | Jussi Kivilinna <[email protected]> | 2008-03-23 12:45:44 +0200 |
---|---|---|
committer | Jeff Garzik <[email protected]> | 2008-03-25 23:42:06 -0400 |
commit | 9f5e60dd5ffca938da4cabc197af8b9405b5512e (patch) | |
tree | e6764734215126ccbcac1c7e52b0e48f117df7c0 /lib/debugobjects.c | |
parent | b1186dee3e785679876f6b629609ec080842edda (diff) |
rndis_host: fix oops when query for OID_GEN_PHYSICAL_MEDIUM fails
When query for OID_GEN_PHYSICAL_MEDIUM fails, uninitialized pointer
'phym' is being accessed in generic_rndis_bind(), resulting OOPS.
Patch fixes phym to be initialized and setup correctly when
rndis_query() for physical medium fails.
Bug was introduced by following commit:
commit 039ee17d1baabaa21783a0d5ab3e8c6d8c794bdf
Author: Jussi Kivilinna <[email protected]>
Date: Sun Jan 27 23:34:33 2008 +0200
Reported-by: Dmitri Monakhov <[email protected]>
Signed-off-by: Jussi Kivilinna <[email protected]>
Acked-by: David Brownell <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions