dockapps/wmifs
Doug Torrance 68555562b4 wmifs: Prevent crash when too many devices.
Patch by Chris Hanson <cph@martigny.ai.mit.edu>.  First appeared in Debian
package 1.3b1-6.

From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=39922:
wmifs crashes with a cryptic X error message when there are more than
4 net devices.  This occurs for me because I install vmware, which
installs 4 network devices for its bridging hack.

The bug is a loop that fills a fixed-length array, but doesn't stop
when the array is full.  The fix is to add a conditional break to the
loop.  A patch appears below.

I made two additional changes: (1) increased the size of the array,
and (2) changed a name comparison to compare all of the characters of
the name, rather than just the visible characters, since there may be
multiple net devices with the same first 4 characters (vmware does
this, too).
2014-10-23 08:03:31 +01:00
..
wmgeneral wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00
wmifs wmifs: Prevent crash when too many devices. 2014-10-23 08:03:31 +01:00
BUGS wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00
CHANGES wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00
COPYING wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00
HINTS wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00
INSTALL wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00
README wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00
TODO wmifs: Add version 1.3b1 to repository. 2014-10-23 08:03:31 +01:00

WMiFS-1.3b - The public BETA release
--------------------------------------------------------------
Authors...: Martijn Pieterse (pieterse@xs4all.nl)
       	    Antoine Nulle    (warp@xs4all.nl)
		
Note......: WMiFS has it's own mailbox, as our pop3 accounts
	    are already way too crowded :)
	    Please mail bugreports, comments, suggestions,
	    requests and flames to:

	    dockapps@windowmaker.mezaway.org
	    
	    The official WMiFS support website address:
 
     	    http://windowmaker.mezaway.org

Credits...: Bobby Mezaway (bobby@mezaway.org) for generously
	    hosting our website!


Description
--------------------------------------------------------------
WMiFS is a complete network monitoring dock.app, it's mainly
designed for usage in WindowMaker's dock and gives you some
nice & nifty features like:

	* Autosensing of *ALL* active network interfaces;
	* Integrated autoscaling (per interface) transfer
	  statistics, tested upto 100Mbit; 
	* Displays a 'normal' xload style graph or our new
	  'waveform' like load graph;
	* Realtime cycling through active interfaces by simply
	  clicking on the eth0/ppp0 (interface) gadget;
	* Integrated RX/TX interface activity LEDs;
	* Integrated interface status LED;
	* Commandline options to force monitoring a particular
	  interface, even 'lo' is supported (-h for help);
	* User-definable scripts for left/middle/right mouse
	  buttons which are read from ~/.wmifsrc (optional);
	* Fixed rc file option, usefull for sites where users
	  are not allowed to mess with pppd;
	  
WMiFS is developped on DEC Alpha machines running RedHat-5.0/Linux,
but, WMiFS has also been intensively tested on x86 and 68K RedHat/
Linux machines ;-)


Files
--------------------------------------------------------------
README		This file.
INSTALL		Installation instructions.
HINTS 		Hints about what you can do with WMiFS.
BUGS		Things you don't want to know ;-)
CHANGES		Description of changes.
TODO		Things we've already planned for WMiFS.
COPYING		GNU General Public License Version 2.
	

Bugs
--------------------------------------------------------------
If you discover any bugs in this software, please send a 
bugreport to dockapps@windowmaker.mezaway.org and describe
the problem as detailed as you can.


Copyright
--------------------------------------------------------------
WMiFS.app is copyright (c) 1997, 1998 by Martijn Pieterse and
Antoine Nulle and licensed through the GNU General Public License. 
Read the COPYING file for the complete GNU license.