Skip to content
Commit 4049e17c authored by Seppo Takalo's avatar Seppo Takalo Committed by Henrik Brix Andersen
Browse files

net: lwm2m: Fix null dereference when post-write cb is set



When opaque resources have post-write callback set, but
the write is not a Block-Wise write, there is no block_ctx
and the code causes null pointer dereference when calculating
the offset of the data.

Signed-off-by: default avatarSeppo Takalo <seppo.takalo@nordicsemi.no>
parent 2cd2d5fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment