Bug 99009 - Handle size_t in file/buffer length
Summary: Handle size_t in file/buffer length
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/Xpm (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-12-06 20:42 UTC by Tobias Stoeckmann
Modified: 2016-12-15 17:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
My proposed patch (1.10 KB, patch)
2016-12-06 20:42 UTC, Tobias Stoeckmann
no flags Details | Splinter Review

Description Tobias Stoeckmann 2016-12-06 20:42:02 UTC
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.


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.