commit | 95433894307ab5b9330625a547a3f9ca509368e5 | [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 | e9d1e5afbd0d95ffc0f8da0eafe5edbb84c30943 [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>