diff options
| author | bptato <nincsnevem662@gmail.com> | 2021-02-03 12:03:52 +0000 | 
|---|---|---|
| committer | bptato <nincsnevem662@gmail.com> | 2021-02-03 12:03:52 +0000 | 
| commit | 1a47d07d665dff4f24005c1f03e97610ecfa2713 (patch) | |
| tree | 8c49b4c12e539fea251decdb1cad7d5812873bf2 | |
| parent | base64_encode: fix input and output length types (diff) | |
| download | w3m-1a47d07d665dff4f24005c1f03e97610ecfa2713.tar.gz w3m-1a47d07d665dff4f24005c1f03e97610ecfa2713.zip | |
Use GC_MALLOC_ATOMIC_IGNORE_OFF_PAGE for allocating memory for base64 encoding
| -rw-r--r-- | etc.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -2024,7 +2024,7 @@ base64_encode(const unsigned char *src, size_t len)      if (k + 1 < len)  	return NULL; -    w = GC_MALLOC_ATOMIC(k + 1); +    w = GC_MALLOC_ATOMIC_IGNORE_OFF_PAGE(k + 1);      w[k] = 0;      at = w; | 
