[update] add const to received task attr

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>