diff options
author | Brian Paul <[email protected]> | 2012-01-19 10:20:24 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-19 15:12:14 -0700 |
commit | fdae0eaf222f271bfbc7e71d8561eb8b90685ae5 (patch) | |
tree | 3b74171540e69aa6fe4135bbc25d7991b704e8ae /docs/RELNOTES-4.0.2 | |
parent | f0ea46790f8f4df9a39b0cfab5c5f1bf02c136fc (diff) |
st/mesa: copy num_immediates field when copying the immediates array
Two assignments to num_immediates were missing in
get_pixel_transfer_visitor() and get_bitmap_visitor().
The uninitialized value led to valgrind errors and crashes in some
cases.
Added new assertions to catch future problems in this area. Also
changed num_immediates to unsigned to avoid signed/unsigned
comparison warnings.
NOTE: This is a candidate for the 8.0 branch.
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'docs/RELNOTES-4.0.2')
0 files changed, 0 insertions, 0 deletions