lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] mqtt_message_received(): error in assert?


From: Giuseppe Modugno
Subject: Re: [lwip-devel] mqtt_message_received(): error in assert?
Date: Tue, 11 Jun 2019 10:01:37 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

Yes, that ASSERT doesn't exist anymore in the git master. Thank you.

Il 11/06/2019 08:12, Axel Lin ha scritto:
Giuseppe Modugno <address@hidden> 於 2019年6月6日 週四 上午5:56寫道:
I was testing the behaviour of MQTT client with big messages and the following 
assert in mqtt_message_received() was triggered:

LWIP_ASSERT("client->msg_idx < MQTT_VAR_HEADER_BUFFER_LEN", client->msg_idx < 
MQTT_VAR_HEADER_BUFFER_LEN);

I think client->msg_idx can be equal to MQTT_VAR_HEADER_BUFFER_LEN when buffer 
is full.
It looks like this is fixed by
http://git.savannah.gnu.org/cgit/lwip.git/commit/?id=2cc420e434744f9f217f2e68f39cf08379517a94

Can you check if it's working in current git master?

_______________________________________________
lwip-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]