Attention is currently required from: Felix Singer, Shreeyash .
Felix Singer uploaded patch set #2 to the change originally created by Shreeyash .
stlinkv3_spi: Bug fix, Initialize uninitialized pointers
Discovered by clang static analysis, `stlinkv3_handle` on line 510 was
a potential comparison of an un-initialized variable. Initializing it
and two other pointers (usb_ctx and stlinkv3_data) to NULL fixes this.
Change-Id: I7ce156a9f7455434ea461560320c84660c93c02f
Signed-off-by: Shreeyash Pandey <shreeyash335@gmail.com>
Signed-off-by: Felix Singer <felixsinger@posteo.net>
---
M stlinkv3_spi.c
1 file changed, 16 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/25/66225/2
To view, visit change 66225. To unsubscribe, or for help writing mail filters, visit settings.