The remote web server does not respond after it receives a URL consisting of a long string of '%' characters (refer Nessus Plugin ID 11155).After system recieves the malformed URL with long string of '%' character, the callback function corresponding to modbus data recieve is not invoked.As per my analysis I doubt when URL with long string of '%' character comes as http GET request the memory space corresponds to tcp_info structure for modbus port is getting overwritten.How to resolve this issue?. I believe if we add some bound check for number of characters in URL this can be resolved. Where to add a bound check to number of characters in URL?. Also how to increase the maximum size of URL?.
Environment Details : MCU - LPC2468IDE - Keil Microvision-4RTOS - RTX_ARM_L.LIBTCP stack used - TCP_ARM_L.LIB
View all questions in Embedded forum