state: backend_raw: add sanity check of data_len during load
The length of the data must fit into the remaining available space until the
next copy of the data.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent ab1f4aa commit 51b0b010beb9cc9c0c86ceab875b7404956a560a
@Marc Kleine-Budde Marc Kleine-Budde authored on 26 May 2015
Sascha Hauer committed on 26 May 2015
Showing 1 changed file
View
common/state.c