crash in x265_zone_free, if going to 'fail' early in x265_encoder_open

Issue #508 resolved
Martin Belleau created an issue

In x265_encoder_open, if x265_check_params returns 0, we goto fail and execute:

PARAM_NS::x265_param_free(param);
PARAM_NS::x265_param_free(latestParam);

and this point, rc.zonefileCount and rc.zoneCount are not initialized, so I am seeing an access violation when x265_zone_free calls x265_free.

Comments (3)

  1. Log in to comment