Bug #748

Build issue with piboxd

Added by Hammel 8 months ago. Updated 8 months ago.

Status:ClosedStart date:10 Mar 2020
Priority:UrgentDue date:
Assignee:Hammel% Done:


Category:00 - Basic Build Issues
Target version:PiBox - 1.1.0 - Upgrades
Severity:03 - Medium


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);

Associated revisions

Revision 44e0904b
Added by Michael J. Hammel 8 months ago

RM #748: Fixed size of ipaddr field to be large enough for a tag, which is being used for an ipaddr but could be as large as a uuid.


#1 Updated by Hammel 8 months ago

  • Project changed from PiBox to piboxd

#2 Updated by Hammel 8 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100


Closing issue.

Also available in: Atom PDF