Skip to content
  • Martin Pitt's avatar
    game_scm_pre_unwind_handler(): Fix potential format string crash · 3e6a3c97
    Martin Pitt authored
    Use g_set_error_literal() for setting the error message to the stack trace, as
    this might contain format string macros. Spotted by building with
    -Werror=format-security:
    
    game.c: In function 'game_scm_pre_unwind_handler':
    game.c:425:24: error: format not a string literal and no format arguments [-Werror=format-security]
    3e6a3c97