httpd: uri length

Vladimir N. Oleynik dzo at simtreas.ru
Mon Sep 5 08:32:10 UTC 2005


Dirk,

> Should we set an maximum allowed URI length?

May be.

> If the answer is no, than alloca() is unusable
> for handling the URI.

Its not problem. We have predefined size buff for
sscanfs(buf, "HTTP %d....
and if URI is very long, then sscanf return shorted number
of scannig and producing error.
But... I shall think above this problem.


--w
vodz



More information about the busybox mailing list