[PATCH] pulse: Fix invalid buffer pointer return value