From mboxrd@z Thu Jan 1 00:00:00 1970 From: Denis Joseph Barrow Subject: 2 bugs found in Cisco vpnclient-4.8.02.0030 Date: Tue, 09 Sep 2008 14:11:25 +0200 Message-ID: <48C667ED.9060206@option.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040607010905010605050706" Cc: Filip Aben , Linux USB kernel mailing list , Linux netdev Mailing list To: =?ISO-8859-1?Q?N=E9meth_Tam=E1s?= Return-path: Sender: linux-usb-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org This is a multi-part message in MIME format. --------------040607010905010605050706 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Tamas, I've got the vpn client going over ethernet but not yet over the hso device. I found 2 idiotic substantial bugs in the vpn client one which caused the crash in linuxcniapi.c as you were seeing You'll note that in some places the code was looping to pDevice && (dev->ifindex == b->pDevice->ifindex)) --- cisco-vpn-client.orig/vpnclient-4.8.02.0030/linuxcniapi.c 2008-06-23 18:59:12.000000000 +0200 +++ cisco-vpn-client/vpnclient-4.8.02.0030/linuxcniapi.c 2008-09-09 13:37:33.000000000 +0200 @@ -577,7 +577,7 @@ { int i; - for (i=0; i <= MAX_INTERFACES; i++) + for (i=0; i < MAX_INTERFACES; i++) { BINDING *b = &Bindings[i]; if (b->pDevice && (iIndex == b->pDevice->ifindex)) --------------040607010905010605050706-- -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html