diff options
| author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-17 18:52:10 -0700 |
|---|---|---|
| committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-12-17 18:52:10 -0700 |
| commit | d1c8af7c0a18340fdde45ade6f612939a3c8e62a (patch) | |
| tree | 71b75df9895ee6f4ca28196a637613e43616bcef /progs/samples/bitmap2.c | |
| parent | f0b0794b3885a2fdfb168ec4521c7b5e942d3228 (diff) | |
gallium: fix memory corruption in u_gen_mipmap.c
Remove the old/initial vbuf allocation in util_create_gen_mipmap().
We were allocating a small vbuf at this point so get_next_slot() didn't have
as large of buffer as it expected. So all but the first set_vertex_data()
was writing out of bounds.
Also added some comments.
Diffstat (limited to 'progs/samples/bitmap2.c')
0 files changed, 0 insertions, 0 deletions
