Commit 8ec118cd authored by ShengHuo ZHU's avatar ShengHuo ZHU
Browse files

2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>

	* fns.c (Fbase64_decode_string): The decoded result should be
	unibyte.
parent 1a578e9b
2000-10-22 15:07:47 ShengHuo ZHU <zsh@cs.rochester.edu>
* fns.c (Fbase64_decode_string): The decoded result should be
unibyte.
2000-10-23 Andrew Choi <akochoi@i-cable.com>
* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.
......
......@@ -3550,8 +3550,9 @@ DEFUN ("base64-decode-string", Fbase64_decode_string, Sbase64_decode_string,
else
decoded = (char *) xmalloc (length);
/* The decoded result should be unibyte. */
decoded_length = base64_decode_1 (XSTRING (string)->data, decoded, length,
STRING_MULTIBYTE (string), NULL);
0, NULL);
if (decoded_length > length)
abort ();
else if (decoded_length >= 0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment