Created attachment 85306 [details]
Patch allowing create huge image
I think there's a problem with the create_bits function. The buf_size is only right if under 2^31. The cast should be explicit like :
buf_size = (size_t)height * stride;
Thanks for the bug report.
The patch looks right to me, but for us to merge it, it needs to be sent to the mailing list at
with a commit log. The command
can be used for this, or, if your git setup can't send mail, then
to generate a patch that can be included in a mail.
Created attachment 85448 [details] [review]
patch helping pixman-bits-image.c with huge image
I thing the patch must be bigger than the first I made to help pixman support big image. Every multiplication by stride should be cast. What do you think about my second patch ? I only modify pixman-bits-image.c. I'll make the change for all files after your feedback.
The discussion needs to take place on the mailing list.
(In reply to comment #3)
> The discussion needs to take place on the mailing list.
The discussion in the mailing list archives: http://lists.freedesktop.org/archives/pixman/2013-September/002915.html
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pixman/pixman/issues/6.