Error in httpd_readreq function MQX3.8.1, url too long

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error in httpd_readreq function MQX3.8.1, url too long

686 Views
kappa74
Contributor IV

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

0 Kudos
Reply
1 Reply

611 Views
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi Mirko,

MQX 4.0.1 released a new http server version with a lot of improvements. Try there and let know if the problem persist.

Rgards,

Garabo

0 Kudos
Reply