]> git.tdb.fi Git - ext/subsurface.git/commit
Fix uninitialized pointer crash for "Save As"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Aug 2012 16:48:15 +0000 (09:48 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 18 Aug 2012 16:48:15 +0000 (09:48 -0700)
commit76fc14f1b4c62506a6a9a8ee27d21ec992a65993
tree66f5e873999a4c892a5e6d5d3c2c6a5cc713a8e2
parent52c3d11d2c2a0415bf501abff6c9f99b6a7f2cce
Fix uninitialized pointer crash for "Save As"

The "filename" variable was only initialized when the user accepted the
name, so cancelling the file save would randomly use an uninitialized
pointer.

Reported-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
gtk-gui.c