#3084 Tk crashes with zlib-less tcl on init

current: 8.6.0
closed-fixed
5
2013-03-28
2013-03-28
Anonymous
No

InitPNGImage() calls Tcl_ZlibStreamInit() with a NULL interpreter.

If Tcl was (accidentially in my case) configured without HAVE_ZLIB, that function does not check for a NULL interpreter when reporting an error and crashes.

Discussion

  • Donal K. Fellows

    • assigned_to: hobbs --> dkf
    • labels: 318667 --> 41. Photo Images
    • status: open --> closed-fixed
     
  • Donal K. Fellows

    Don Porter fixed this on the Tcl side of things with commit https://core.tcl.tk/tcl/info/877c8ac162

    (We don't want to pass in a non-NULL interp as we don't want a command creating for the stream.)

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks