rpms/wpa_supplicant/F-8 wpa_supplicant-0.5.7-dbus-blobs.patch, 1.3, 1.4 wpa_supplicant.spec, 1.33, 1.34

Daniel Williams (dcbw) fedora-extras-commits at redhat.com
Wed Oct 24 21:38:43 UTC 2007


Author: dcbw

Update of /cvs/extras/rpms/wpa_supplicant/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20146

Modified Files:
	wpa_supplicant-0.5.7-dbus-blobs.patch wpa_supplicant.spec 
Log Message:
* Wed Oct 24 2007 Dan Williams <dcbw at redhat.com> - 0.5.7-13
- Correctly set the length of blobs added via the D-Bus interface



wpa_supplicant-0.5.7-dbus-blobs.patch:

Index: wpa_supplicant-0.5.7-dbus-blobs.patch
===================================================================
RCS file: /cvs/extras/rpms/wpa_supplicant/F-8/wpa_supplicant-0.5.7-dbus-blobs.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- wpa_supplicant-0.5.7-dbus-blobs.patch	24 Oct 2007 20:52:43 -0000	1.3
+++ wpa_supplicant-0.5.7-dbus-blobs.patch	24 Oct 2007 21:38:39 -0000	1.4
@@ -17,7 +17,7 @@
 index 5e952ec..3ece2fe 100644
 --- a/wpa_supplicant/ctrl_iface_dbus_handlers.c
 +++ b/wpa_supplicant/ctrl_iface_dbus_handlers.c
-@@ -1203,3 +1203,128 @@ DBusMessage * wpas_dbus_iface_get_state(DBusMessage *message,
+@@ -1203,3 +1203,129 @@ DBusMessage * wpas_dbus_iface_get_state(DBusMessage *message,
  
  	return reply;
  }
@@ -84,6 +84,7 @@
 +		}
 +
 +		blob->name = os_strdup(entry.key);
++		blob->len = entry.array_len;
 +		os_memcpy(blob->data, (u8 *) entry.bytearray_value,
 +				entry.array_len);
 +		if (blob->name == NULL || blob->data == NULL) {


Index: wpa_supplicant.spec
===================================================================
RCS file: /cvs/extras/rpms/wpa_supplicant/F-8/wpa_supplicant.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- wpa_supplicant.spec	24 Oct 2007 20:46:12 -0000	1.33
+++ wpa_supplicant.spec	24 Oct 2007 21:38:39 -0000	1.34
@@ -2,7 +2,7 @@
 Name: wpa_supplicant
 Epoch: 1
 Version: 0.5.7
-Release: 12%{?dist}
+Release: 13%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Source0: http://hostap.epitest.fi/releases/%{name}-%{version}.tar.gz
@@ -148,6 +148,9 @@
 %{_bindir}/wpa_gui
 
 %changelog
+* Wed Oct 24 2007 Dan Williams <dcbw at redhat.com> - 0.5.7-13
+- Correctly set the length of blobs added via the D-Bus interface
+
 * Wed Oct 24 2007 Dan Williams <dcbw at redhat.com> - 0.5.7-12
 - Fix conversion of byte arrays to strings by ensuring the buffer is NULL
     terminated after conversion




More information about the fedora-extras-commits mailing list