Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #828263

stringop-overflow compiler error at xml registry

Added by Marko Lindqvist over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
General
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

../../src/utility/registry_xml.c: In function ‘xmlfile_load’:
../../src/utility/registry_xml.c:94:15: error: ‘strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=]
strncpy(buf, content, sizeof(buf));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../src/utility/registry_xml.c:91:25: note: length computed here
int len = strlen(content);
^~~~~~~~~~~~~

History

#1 Updated by Marko Lindqvist over 1 year ago

#2 Updated by Marko Lindqvist over 1 year ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF