Hello community, here is the log from the commit of package ndiswrapper checked in at Mon Sep 18 17:01:02 CEST 2006. -------- --- arch/i386/ndiswrapper/ndiswrapper.changes 2006-09-01 16:35:10.000000000 +0200 +++ ndiswrapper/ndiswrapper.changes 2006-09-18 14:53:23.000000000 +0200 @@ -1,0 +2,5 @@ +Mon Sep 18 14:53:03 CEST 2006 - jg@suse.de + +- Removed use of uninitialised variable (bug 184410) + +------------------------------------------------------------------- New: ---- ndiswrapper-uninit_fix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ndiswrapper.spec ++++++ --- /var/tmp/diff_new_pack.t2xy5f/_old 2006-09-18 17:00:00.000000000 +0200 +++ /var/tmp/diff_new_pack.t2xy5f/_new 2006-09-18 17:00:00.000000000 +0200 @@ -16,7 +16,7 @@ Autoreqprov: on Summary: Use Microsoft NDIS Network Drivers for WLAN Cards Version: 1.23 -Release: 1 +Release: 3 Requires: pciutils Requires: ndiswrapper-kmp Source0: %name-%version.tar.bz2 @@ -24,6 +24,7 @@ Source2: README.SUSE Source3: preamble Patch0: ndiswrapper.diff +Patch1: ndiswrapper-uninit_fix.diff URL: http://ndiswrapper.sourceforge.net License: GPL BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -63,6 +64,7 @@ %prep %setup %patch0 -p1 +%patch1 -p1 cp %SOURCE2 . mkdir obj @@ -105,6 +107,8 @@ %doc ChangeLog %changelog -n ndiswrapper +* Mon Sep 18 2006 - jg@suse.de +- Removed use of uninitialised variable (bug 184410) * Fri Sep 01 2006 - ro@suse.de - update Makefile.in to fix build on x86_64 * Fri Sep 01 2006 - ro@suse.de ++++++ ndiswrapper-uninit_fix.diff ++++++ Removed use of unintialised variable (bug 184410) Index: ndiswrapper-1.23/utils/loadndisdriver.c =================================================================== --- ndiswrapper-1.23.orig/utils/loadndisdriver.c +++ ndiswrapper-1.23/utils/loadndisdriver.c @@ -152,7 +152,7 @@ static int read_conf_file(char *conf_fil char setting_name[MAX_SETTING_NAME_LEN]; char setting_value[MAX_SETTING_VALUE_LEN]; int ret, nr_settings; - int i, vendor, device, subvendor, subdevice, bus_type; + int vendor, device, subvendor, subdevice, bus_type; if (lstat(conf_file_name, &statbuf)) { ERROR("unable to open config file: %s", strerror(errno)); @@ -167,8 +167,8 @@ static int read_conf_file(char *conf_fil &bus_type) == 5) { DBG("bus_type: %X", bus_type); } else { - ERROR("unable to parse conf file name %s (%d)", - conf_file_name, i); + ERROR("unable to parse conf file name %s", + conf_file_name); return -EINVAL; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org