Re: [PATCH] mmdevapi: Try loading multiple audio drivers from the registry
25 Jul
2011
25 Jul
'11
10:47 p.m.
On Tue, Jul 26, 2011 at 12:46 AM, Andrew Eikum <aeikum(a)codeweavers.com> wrote: + for(p = driver_name; p; p = next + 1){ + next = strchrW(p, ','); + if(next) + *next = '\0'; + + if(load_driver(p)) + return TRUE; + + TRACE("Failed to load driver: %s\n", wine_dbgstr_w(driver_name)); + } This crashes if no driver can be loaded (next will be NULL, then you'll have p = NULL + 1). Octavian
5255
Age (days ago)
5255
Last active (days ago)
0 comments
1 participants
participants (1)
-
Octavian Voicu