5 ms·
Long URLs make it crash. Really. Just try and put in a very long URL... https://github.com/riolet/longs/blob/master/longs.c#L238 https://github.com/riolet/lo
by willvarfar 10y ago
Long URLs make it crash. Really. Just try and put in a very long URL...
https://github.com/riolet/longs/blob/master/longs.c#L238 https://github.com/riolet/longs/blob/master/longs.c#L238 looks like an example of a buffer overflow.
Etc.
- snerbles 10y agoSIZE is defined as 2048 bytes (line 59). Firefox can do GET requests with 8KiB URLs.
- willvarfar 10y agoThe URL is base64-encoded before they try and fit it in a 2K buffer, so the the longest URL it can handle is actually shorter than 2K.