Project

General

Profile

Actions

Bug #748

closed

Build issue with piboxd

Added by Hammel over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
00 - Basic Build Issues
Start date:
10 Mar 2020
Due date:
% Done:

100%

Estimated time:
Severity:
03 - Medium

Description

iot.c: In function 'registerDevice':
iot.c:126:22: warning: '%s' directive writing up to 36 bytes into a region of size 16 [-Wformat-overflow=]
sprintf(ipaddr, "%s", msg->tag);
^~
iot.c:126:5: note: 'sprintf' output between 1 and 37 bytes into a destination of size 16
sprintf(ipaddr, "%s", msg->tag);

Actions

Also available in: Atom PDF