mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
pack.c: need extra space for the terminal NULL.
This commit is contained in:
@@ -70,9 +70,9 @@ enum pack_type {
|
||||
#define PACK_BASE64_IGNORE 0xff
|
||||
#define PACK_BASE64_PADDING 0xfe
|
||||
|
||||
const static unsigned char base64chars[64] =
|
||||
const static unsigned char base64chars[] =
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||||
const static unsigned char base64_dec_tab[128] =
|
||||
const static unsigned char base64_dec_tab[] =
|
||||
"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"
|
||||
"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff"
|
||||
"\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff\x3e\xff\xff\xff\x3f"
|
||||
|
||||
Reference in New Issue
Block a user