Closed (fixed)
Project:
ImageMagick
Version:
8.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2023 at 10:17 UTC
Updated:
23 Mar 2026 at 13:31 UTC
Jump to comment: Most recent
Comments
Comment #2
mondrakeWe need to fix this and push out a new release. I'd definitely would like to have some test coverage for the case when this property is accessed not being initialized yet, need to figure out the case.
Comment #4
mondrake@axroth I wouldn't like to revert the typehinting, rather ensure the case of uninitialized property be gracefully handled in the getters. See MR. We need test coverage, though.
Comment #5
axroth commented@mondrake absolutely! Like your solution. For tests I cannot help I think.
Comment #6
mondrakeIs anybody able to post at least a full backtrace?
Comment #7
rakesh.nimje84@gmail.com commentedMerge request !21 changes are working like a charm!
Comment #9
mondrakeOK, so this definitely happens if the toolkit parses an invalid image, and
::getWidth()is called without prior checking::isValid(), which should not happen in theory. But as someone said,Waiting for RTBC by someone that has had the issue before committing and pushing a release, thanks.
Comment #10
mondrakeComment #11
mistrae commentedCan confirm the error disappear with this MR
Comment #13
mondrakeThanks