[pulseaudio-discuss] [PATCH 0/3] Fix unaligned memblock crash (bug 77595)

David Henningsson david.henningsson at canonical.com
Thu Oct 16 02:41:16 PDT 2014


So, three patches to fix one rc blocker bug, but it fixes the bug
on three different levels:

 * The first one makes us crash on *inserting* a bad block instead of
   when we remove it.
 * The second one gives an error back on the client side when trying
   to push a bad block.
 * The third one ignores bad blocks on the native protocol level - in all
   normal cases this would not happen due to the client side patches, it's
   just an additional security measure.

David Henningsson (3):
  memblockq: Do not allow non-frame indices in the memblock queue
  stream: Fail on client submitting non-frame-aligned memblocks
  protocol-native: Fail if trying to push unaligned memblock into queue

 src/pulse/stream.c              | 2 ++
 src/pulsecore/memblockq.c       | 1 +
 src/pulsecore/protocol-native.c | 7 +++++++
 3 files changed, 10 insertions(+)

-- 
1.9.1



More information about the pulseaudio-discuss mailing list