Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 210111 Details for
Bug 310531
wpa_supplicant crashes when given a non-existant interface (fix included)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix for segfault
wpa_supplicant-0.5.7-invalid-iface-crash.patch (text/plain), 1006 bytes, created by
Ralf Ertzinger
on 2007-09-28 09:36:33 UTC
(
hide
)
Description:
Fix for segfault
Filename:
MIME Type:
Creator:
Ralf Ertzinger
Created:
2007-09-28 09:36:33 UTC
Size:
1006 bytes
patch
obsolete
>diff -uNr wpa_supplicant-0.5.7-orig/driver_wext.c wpa_supplicant-0.5.7/driver_wext.c >--- wpa_supplicant-0.5.7-orig/driver_wext.c 2006-12-31 19:11:37.000000000 +0100 >+++ wpa_supplicant-0.5.7/driver_wext.c 2007-09-28 11:03:44.000000000 +0200 >@@ -896,7 +896,8 @@ > /* > * Make sure that the driver does not have any obsolete PMKID entries. > */ >- wpa_driver_wext_flush_pmkid(drv); >+ if (-1 == wpa_driver_wext_flush_pmkid(drv)) >+ return NULL; > > if (wpa_driver_wext_set_mode(drv, 0) < 0) { > printf("Could not configure driver to use managed mode\n"); >diff -uNr wpa_supplicant-0.5.7-orig/wpa_supplicant.c wpa_supplicant-0.5.7/wpa_supplicant.c >--- wpa_supplicant-0.5.7-orig/wpa_supplicant.c 2006-12-31 03:10:05.000000000 +0100 >+++ wpa_supplicant-0.5.7/wpa_supplicant.c 2007-09-28 11:24:20.000000000 +0200 >@@ -2336,7 +2336,8 @@ > wpa_clear_keys(wpa_s, NULL); > } > >- wpas_dbus_unregister_iface(wpa_s); >+ if (NULL != wpa_s->global) >+ wpas_dbus_unregister_iface(wpa_s); > > wpa_supplicant_cleanup(wpa_s); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 310531
: 210111