]> git.dujemihanovic.xyz Git - u-boot.git/commit
ifwitool: Fix member access
authorSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 20:13:17 +0000 (13:13 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 27 Jan 2023 17:51:26 +0000 (12:51 -0500)
commita092f1e9064881a358fdf08cb1cee753cd680edf
treeb54b72d81df05d3ed36c2441c40ab13b2060d46f
parente71505fc983ca1734d1033095cee23b66e2f06e8
ifwitool: Fix member access

On a second and third look, a recent patch seems to be writing to the
wrong place - updating offsets from the address of the pointer instead
of what the pointer points to.

Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Fixes: 2d1b2ac13fe ("tool: ifwitool: Fix buffer overflow")
Acked-by: Sean Anderson <seanga2@gmail.com>
tools/ifwitool.c