EEVEE: Fix insecure string literal

Detected by Sergey.
This commit is contained in:
Jeroen Bakker
2024-09-03 11:09:07 +02:00
parent d738d76c12
commit 5b16da6246

View File

@@ -1042,7 +1042,7 @@ void IrradianceBake::surfels_create(const Object &probe_object)
if (G.background) {
/* Print something in background mode instead of failing silently. */
fprintf(stderr, inst_.info_get());
fprintf(stderr, "%s", inst_.info_get());
}
do_break_ = true;