Error in httpd_readreq function MQX3.8.1, url too long

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Error in httpd_readreq function MQX3.8.1, url too long

696件の閲覧回数
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 返信

621件の閲覧回数
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 件の賞賛
返信