Skip to content
  • Eric Petit's avatar
    Fixes bad error checking on read errors. · f5f434a6
    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