diff options
| author | Kees Cook <kees@outflux.net> | 2007-03-20 17:16:36 +0000 |
|---|---|---|
| committer | keescook <keescook@users.sourceforge.net> | 2007-03-20 17:16:36 +0000 |
| commit | 4687a1c9ffe0d1d3f6ea01f360faa542a5b6491c (patch) | |
| tree | 734a4d35a4e7b90593ae86a6c9006e58ce23d7d1 /src/interface.cpp | |
| parent | patch by cilix42 for bug 1671665 (diff) | |
| download | inkscape-4687a1c9ffe0d1d3f6ea01f360faa542a5b6491c.tar.gz inkscape-4687a1c9ffe0d1d3f6ea01f360faa542a5b6491c.zip | |
format string protection/clean up (CVE-2007-1463, CVE-2007-1464)
(bzr r2720)
Diffstat (limited to '')
| -rw-r--r-- | src/interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface.cpp b/src/interface.cpp index dad1146c0..c7608f53a 100644 --- a/src/interface.cpp +++ b/src/interface.cpp @@ -1247,7 +1247,7 @@ sp_ui_error_dialog(gchar const *message) gchar *safeMsg = Inkscape::IO::sanitizeString(message); dlg = gtk_message_dialog_new(NULL, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, - GTK_BUTTONS_CLOSE, safeMsg); + GTK_BUTTONS_CLOSE, "%s", safeMsg); sp_transientize(dlg); gtk_window_set_resizable(GTK_WINDOW(dlg), FALSE); gtk_dialog_run(GTK_DIALOG(dlg)); |
