]> git.ipfire.org Git - thirdparty/curl.git/commit
base64: better alloc size
authorDaniel Stenberg <daniel@haxx.se>
Sat, 3 Dec 2022 23:07:52 +0000 (00:07 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 5 Dec 2022 07:11:24 +0000 (08:11 +0100)
commitfa467a2fa98f6420db55c3b359fb0beed574bbbf
treea3da66a524ce1cda1ca4ec3681597daefd8a4aa9
parent29bb9ba431a3e3b44f131d7ef1668ae3305be2d1
base64: better alloc size

The previous algorithm allocated more bytes than necessary.

Suggested-by: xtonik on github
Fixes #10024
Closes #10025
lib/base64.c