{"author":"Daniel Stenberg","author_email":"daniel@haxx.se","author_time":1758282436,"commit_time":1758315440,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"5e2d4d790575d4ad0381c4862f5e435a3b6532d1","message":"base64: accept zero length argument to base64_encode\n\nWe used to treat 0 as \"call strlen() to get the length\" for\ncurlx_base64_encode, but it turns out this is rather fragile as we\neasily do the mistake of passing in zero when the data is actually not\nthere and then calling strlen() is wrong.\n\nForce the caller to pass in the correct size. A zero length input string\nnow returns a zero length output and a NULL pointer.\n\nCloses #18617\n","parents":["a0369e1705b536279313c11dd54d490cf6f9ea3d"],"tree_hash":"24684ff18cd7d8108abaa81a097f8ab0bdfa819a"}