Fix #86: gdImageScale segfaults with most interpolation types

Merged
#11 · Created  · Last updated

Merged pull request

Merged in suetanvil/gd-libgd (pull request #11)

de7acbf·Author: ·Closed by: ·2013-08-29

Description

This fixes bug #86. The problem is in gdImageScaleTwoPass(); it was creating a temporary intermediate gdImage and not setting the interpolation field. Later on, something would try to invoke tmp_im->interpolation (which was NULL) as a function and causing a segfault.

0 attachments

0 comments

Loading commits...