Skip to content

Commit

Permalink
Fix another instance of an insecure format string.
Browse files Browse the repository at this point in the history
(Same #26 issue.)
  • Loading branch information
renpytom committed Jan 24, 2016
1 parent 60a187b commit c50dd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pygame_sdl2/rwobject.pyx
Expand Up @@ -53,7 +53,7 @@ cdef set_error(e):
cdef char *msg
e = str(e)
msg = <char *> e
SDL_SetError(e)
SDL_SetError("%s", e)

cdef Sint64 python_size(SDL_RWops *context) with gil:
f = <object> context.hidden.unknown.data1
Expand Down

0 comments on commit c50dd46

Please sign in to comment.