[X] Checked the issue tracker for similar issues to ensure this is not a duplicate.
[X] Provided a clear description of your suggestion.
[X] Included any relevant context or examples.
Issue or Suggestion Description
When I complier ESP8266 RTOS project ↓
esp-mqtt/lib/transport_ws.c:100:53: error: '258EAFA5-E914-47DA-95CA-C5AB...' directive writing 36 bytes into a region of size between 33 and 64 [-Werror=format-overflow=]
int key_len = sprintf((char)client_key_b64, "%s258EAFA5-E914-47DA-95CA-C5AB0DC85B11", (char)client_key);
esp-mqtt/lib/transport_ws.c:100:19: note: 'sprintf' output between 37 and 68 bytes into a destination of size 64
int key_len = sprintf((char)client_key_b64, "%s258EAFA5-E914-47DA-95CA-C5AB0DC85B11", (char)client_key);
Checklist
Issue or Suggestion Description
When I complier ESP8266 RTOS project ↓
esp-mqtt/lib/transport_ws.c:100:53: error: '258EAFA5-E914-47DA-95CA-C5AB...' directive writing 36 bytes into a region of size between 33 and 64 [-Werror=format-overflow=] int key_len = sprintf((char)client_key_b64, "%s258EAFA5-E914-47DA-95CA-C5AB0DC85B11", (char)client_key); esp-mqtt/lib/transport_ws.c:100:19: note: 'sprintf' output between 37 and 68 bytes into a destination of size 64 int key_len = sprintf((char)client_key_b64, "%s258EAFA5-E914-47DA-95CA-C5AB0DC85B11", (char)client_key);
cc1: some warnings being treated as errors