iButton anyone?

Daniel Stasinski mooooooo at avenues.org
Tue Apr 14 22:05:40 MST 2009


> for logging usage. After 30k uses, it prevents the machine
> from working anymore. My boss tasked me with finding
> out how to get around

I could be flat wrong but 30k is close to 32k, which is one of those
magical numbers.  It could be incrementing a counter that is evaluated
as a 16 bit signed integer (which overflows at 32767 + 1).   Depending
on the rest of the code, it could be as simple as changing it to a
long integer.

Daniel

| ---------------------------------------------------------------
| Daniel P. Stasinski          | http://www.saidsimple.com
| mooooooo at avenues.org         | http://www.disabilities-r-us.com
| XMMP: mooooooo at avenues.org   | http://www.avenues.org
| Google Talk: mooooooo        | http://www.scriptkitties.com


More information about the PLUG-discuss mailing list