summaryrefslogtreecommitdiff
path: root/net-libs/libnipper/files/libnipper-0.12.6-wformat-security.patch
blob: d2bf917a9c595d75589a3119625070adf8232478 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/report/report-table.cpp
+++ b/report/report-table.cpp
@@ -359,7 +359,7 @@ int Report::writeTable(Device::paragraphStruct *paragraph)
 				else if (config->reportFormat == Config::XML)
 					fprintf(outFile, ">");
 				if (cellPointer->cellData.empty())
-					fprintf(outFile, config->emptyTableCell);
+					fprintf(outFile, "%s", config->emptyTableCell);
 				else
 					errorCode = writeText(cellPointer->cellData.c_str(), paragraph);
 				if (errorCode != 0)