]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: make the -# spaceship bar not wrap the line
authorDaniel Stenberg <daniel@haxx.se>
Sat, 25 Jan 2020 15:46:41 +0000 (16:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 26 Jan 2020 17:31:00 +0000 (18:31 +0100)
commit9870b80f81789d45744a6639d97c5f1595f9fd70
treeb802d1d3f35a9d184ddfa683f01be139937c5762
parent1ad49feb71418f26aa6114c7a20ce1463beb3ea9
curl: make the -# spaceship bar not wrap the line

The fixed-point math made us lose precision and thus a too high index
value could be used for outputting the hashtags which could overwrite
the newline.

The fix increases the precision in the sine table (*100) and the
associated position math.

Reported-by: Andrew Potter
Fixes #4849
Closes #4850
src/tool_cb_prg.c