mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 877110 - Fix format-security errors introduced by bug 867656. r=mattwoodrow
This commit is contained in:
parent
dd786d23f0
commit
978a4888ab
@ -219,13 +219,13 @@ ContentHostBase::Dump(FILE* aFile,
|
||||
fprintf(aFile, "<ul>");
|
||||
}
|
||||
if (mTextureHost) {
|
||||
fprintf(aFile, aPrefix);
|
||||
fprintf(aFile, "%s", aPrefix);
|
||||
fprintf(aFile, aDumpHtml ? "<li> <a href=" : "Front buffer: ");
|
||||
DumpTextureHost(aFile, mTextureHost);
|
||||
fprintf(aFile, aDumpHtml ? "> Front buffer </a></li> " : " ");
|
||||
}
|
||||
if (mTextureHostOnWhite) {
|
||||
fprintf(aFile, aPrefix);
|
||||
fprintf(aFile, "%s", aPrefix);
|
||||
fprintf(aFile, aDumpHtml ? "<li> <a href=" : "TextureHost on white: ");
|
||||
DumpTextureHost(aFile, mTextureHostOnWhite);
|
||||
fprintf(aFile, aDumpHtml ? "> Front buffer on white </a> </li> " : " ");
|
||||
@ -736,13 +736,13 @@ ContentHostDoubleBuffered::Dump(FILE* aFile,
|
||||
fprintf(aFile, "<ul>");
|
||||
}
|
||||
if (mBackHost) {
|
||||
fprintf(aFile, aPrefix);
|
||||
fprintf(aFile, "%s", aPrefix);
|
||||
fprintf(aFile, aDumpHtml ? "<li> <a href=" : "Back buffer: ");
|
||||
DumpTextureHost(aFile, mBackHost);
|
||||
fprintf(aFile, aDumpHtml ? " >Back buffer</a></li>" : " ");
|
||||
}
|
||||
if (mBackHostOnWhite) {
|
||||
fprintf(aFile, aPrefix);
|
||||
fprintf(aFile, "%s", aPrefix);
|
||||
fprintf(aFile, aDumpHtml ? "<li> <a href=" : "Back buffer on white: ");
|
||||
DumpTextureHost(aFile, mBackHostOnWhite);
|
||||
fprintf(aFile, aDumpHtml ? " >Back buffer on white</a> </li>" : " ");
|
||||
|
@ -189,7 +189,7 @@ ImageHostSingle::Dump(FILE* aFile,
|
||||
aFile = stderr;
|
||||
}
|
||||
if (mTextureHost) {
|
||||
fprintf(aFile, aPrefix);
|
||||
fprintf(aFile, "%s", aPrefix);
|
||||
fprintf(aFile, aDumpHtml ? "<ul><li>TextureHost: "
|
||||
: "TextureHost: ");
|
||||
DumpTextureHost(aFile, mTextureHost);
|
||||
|
@ -327,7 +327,7 @@ TiledContentHost::Dump(FILE* aFile,
|
||||
fprintf(aFile, "<ul>");
|
||||
}
|
||||
for (;it != stop; ++it) {
|
||||
fprintf(aFile, aPrefix);
|
||||
fprintf(aFile, "%s", aPrefix);
|
||||
fprintf(aFile, aDumpHtml ? "<li> <a href=" : "Tile ");
|
||||
DumpTextureHost(aFile, it->mTextureHost);
|
||||
fprintf(aFile, aDumpHtml ? " >Tile</a></li>" : " ");
|
||||
|
Loading…
Reference in New Issue
Block a user