Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main: fix crash on printing -p output
Delete a duplicate ucv_put() line that can lead to a double-free bug. Reproduced by running: ucode -l nl80211 -p 'sprintf("%.J\n", nl80211.request(nl80211.const.NL80211_CMD_GET_WIPHY, nl80211.const.NLM_F_DUMP, { wiphy: 0, split_wiphy_dump: true }))' Fixes: 0a7ff47 ("main: pretty-print `-p` output by default") Signed-off-by: Felix Fietkau <[email protected]>
- Loading branch information