Created attachment 128363 [details] [review] My proposed patch The values of file sizes and buffer sizes can exceed current limits. Therefore, use proper variable types for these operations.
Commited https://cgit.freedesktop.org/xorg/lib/libXpm/commit/?id=8b3024e6871ce50b34bf2dff924774bd654703bc
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.