summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Vasut <[email protected]>2026-01-28 20:41:04 +0100
committerTom Rini <[email protected]>2026-02-06 09:29:50 -0600
commitf2c704c0e8aac1b846fd55b7178151b2c879e185 (patch)
tree721f2356bec88c665e8706c4cde95cd499c47182 /include
parent02ffe4a0c9d2885899648a5ffe22090e6c7ff9a5 (diff)
cmd: unzip: Use map_sysmem() with buffers in the gzwrite command
The current implementation casts an address to a pointer. Make it more sandbox-friendly by using map_sysmem(). Convert 'addr' variable to unsigned long, as that is the return type of hextoul() and address parameter type of map_sysmem(). Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions