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: address@hidden
Subject: Re: [lwip-devel] mqtt_message_received(): error in assert?
Date: Fri, 7 Jun 2019 20:40:58 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

Am 05.06.2019 um 23:55 schrieb Giuseppe Modugno:
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.

Care to provide a patch (along with a good explanation that makes it
easy to review)?

Thanks,
Simon



reply via email to

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