Well, eventually req could wrap around (assuming unchecked), causing an
OutOfRangeException due to -ve index, but...? Nothing obviously security
related, (assuming that everything we need to know is in the question).
Marc
Jesse Houwing - 29 Feb 2008 18:17 GMT
Hello Marc,
> Well, eventually req could wrap around (assuming unchecked), causing
> an OutOfRangeException due to -ve index, but...? Nothing obviously
> security related, (assuming that everything we need to know is in the
> question).
That means that if you send it enough requests the app will crash pretty
quickly, which could be seen as a DoS attack. Though I find it a bit far
fetched in the context it is presented.
--
Jesse Houwing
jesse.houwing at sogeti.nl
I don't know if we really have enough info, but index 0 *appears* to be
skipped.
while (true) {
getRequest();
arr[req] = DateTime.Now;
req++;
}
> Do anyone know the answer to this problem?
>
[quoted text clipped - 13 lines]
> -
> Mugunth