AnsweredAssumed Answered

Error in httpd_readreq function MQX3.8.1, url too long

Question asked by Mirko Fortunato on Feb 4, 2014
Latest reply on Feb 7, 2014 by Garabo

Good morning,

I use MCF52255, MQX3.8.1, CW10.2.

I found an error in funciont httpd_readreq (file httpd.c).

I set  max_uri=128.

If the requested url is longer than 128 character, the pointer cp2 will point to NULL and the strncpy function failed than there is a writing in a pointer to NULL.

Do you agree?


Best Regards

Mirko Fortunato