saitoha/libsixel — pull request #3 by saitoha (2014-05-29 16:17:39+00:00)
Title: Fix a segmentation fault issue reported by @arakiken

"stbi_load_from_memory" often fails with segmentation fault, because UNGET macro is called although s->io_user_data is not initialized.

We don't get this problem when "stbi_load_from_file" is called, because s->io_user_data is initialized in that case.

This issue was reported by @arakiken.