
cwalls at radix
Mar 7, 2008, 8:11 PM
Views: 953
Permalink
|
|
cx18: [PATCH] fix bounds check in cx18_stream_alloc()
|
|
In cx18_stream_alloc(), s->mdl_offset was being used uninitialized/memset to 0 in the call to cx18_stream_alloc(), for every stream, to do a bounds check on accumulated allocations. This appears to be incorrect. I believe the intent was to use the current running total in cx->mdl_offset to perform the bounds check. Please inspect the attached patch to make sure it makes sense. I'm not 100% sure of my current understanding of the mdl_offset variables. Regards, Andy
|