-
Eric Petit authored
Don't use "p_block->i_buffer = read(...)", i_buffer is unsigned so you won't catch read errors and will end up crashing using a 4GB buffer instead. This fixes a DVB segv I was seeing.
f5f434a6
Don't use "p_block->i_buffer = read(...)", i_buffer is unsigned so you won't catch read errors and will end up crashing using a 4GB buffer instead. This fixes a DVB segv I was seeing.