commit | 3dcc5f178d0f20ec47411aad0ee8a6be8489a531 | [log] [tgz] |
---|---|---|
author | Yann Gautier <yann.gautier@st.com> | Wed Mar 18 14:50:50 2020 +0100 |
committer | Yann Gautier <yann.gautier@st.com> | Mon Mar 23 16:42:37 2020 +0100 |
tree | a259f77a5ae83b437f1be9f155cd1be55df7af90 | |
parent | df473927a0c8e4e671984841afc7acb7ab9543fe [diff] |
io: io_stm32image: correct possible NULL pointer dereference This issue was found with cppcheck in our downstream code: [drivers/st/io/io_stm32image.c:234] -> [drivers/st/io/io_stm32image.c:244]: (warning) Either the condition 'buffer!=0U' is redundant or there is possible null pointer dereference: local_buffer. Change-Id: Ieb615b7e485dc93bbeeed4cd8bf845eb84c14ac9 Signed-off-by: Yann Gautier <yann.gautier@st.com>