Error in httpd_readreq function MQX3.8.1, url too long

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Error in httpd_readreq function MQX3.8.1, url too long

683 次查看
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 项奖励
回复
1 回复

608 次查看
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 项奖励
回复