summaryrefslogtreecommitdiff
path: root/tests/topotests/example-test/test_example.py
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2024-02-05 19:04:39 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-05 03:45:38 +0000
commite5da17897c49e43f586bb7c8388b81e547708446 (patch)
treef333b3e25563db25cb46f7c3bd86b9d6a84b4287 /tests/topotests/example-test/test_example.py
parenta976189dd2568a57e48750bcf6a594d8ab5bd259 (diff)
lib: fix __darr_in_vsprintf
If the initial darr capacity is not enough for the output, the `ap` is reused multiple times, which is wrong, because it may be altered by `vsnprintf`. Make a copy of `ap` each time instead of reusing. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com> (cherry picked from commit ee0c1cc1e4b87bde73f1eba3212ab93b1c379c6c)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions