Skip to content

Commit 8325f22

Browse files
committed
increasing buffer size at replaceWithRegexp to avoid compilation -Werror=format-overflow=
1 parent bf60ea5 commit 8325f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/XrdCmsTfc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ std::string replaceWithRegexp (const int ovector[OVECCOUNT], const int rc,
355355
{
356356
//std::cerr << "InputString:" << inputString << std::endl;
357357

358-
char buffer[8];
358+
char buffer[11];
359359
std::string result = outputFormat;
360360
int substring_length;
361361
int substring_begin;

0 commit comments

Comments
 (0)