To: js1138
This looks to me like a classic off-by-one error
Actually, they said it was the difference between the number of files the flash could handle vs. the physical size of the files. That is: The memory isn't full, but it's out of file handles.
That's what they say... but this is the same crew that said: "ooops, we calculated in feet but programmed in meters!" (Or vice versa).
22 posted on
01/28/2004 9:12:10 AM PST by
brownsfan
(I didn't leave the democratic party, the democratic party left me.)
To: brownsfan
OK, that's another way of saying the same thing. A file handle is just an address. The handle is a number that takes memory to store. Someone determinined the maximum number of files and allocated a certain amount of memory to store the file handles. There appears to have been no check to prevent exceeding this number.So when the one-too-manyth file handle is added it overwrites something important in memory. Result is a reboot.
As an old "c" programmer, I know this one quite intimately. When you have to squeeze a lot of code into a tiny amount of memory, you put the obligation on the user not to break things.
56 posted on
01/28/2004 11:02:14 AM PST by
js1138
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson