bptato
b7b3f87719
Fix std/base64.decode out of bounds read ( #23526 )
...
inputLen may end up as 0 in the loop if the input string only includes
trailing characters. e.g. without the patch, decode(" ") would panic.
(cherry picked from commit 30cf570af9 )
2024-04-23 06:58:18 +02:00
tersec
9cbd8695e7
remove unnecessary side-effects from base64.encode(mime) ( #22986 )
...
Fixes https://github.com/nim-lang/Nim/issues/22985
(cherry picked from commit 26f2ea149c )
2023-11-26 07:15:57 +01:00
flywind
0b44840299
enable style:usages for stdlib tests [backport: 1.6] ( #19715 )
...
* enable style:usages for stdlib tests
* freeAddrInfo
* more tests
* importc
* bufSize
* fix more
* => parseSql and renderSql
(cherry picked from commit 98cebad7de )
2022-05-22 18:20:25 +02:00
Timothee Cour
9ca3218a6d
improve tbase64.nim ( #17964 )
2021-05-07 17:40:16 -07:00
Andreas Rumpf
fc5dd11b3d
fixes #13722 ( #13729 )
...
* fixes #13722
* better fix
2020-03-23 15:47:10 +01:00
Juan Carlos
70d93636cb
Add Base64 safe ( #13672 )
...
* Implement RFC-4648 Section-7
* https://github.com/nim-lang/Nim/pull/13672#issuecomment-600993466
2020-03-20 10:21:42 +01:00
treeform
5ba932e43c
About 50% faster base64 implemention. ( #12436 )
2019-10-17 09:50:00 +02:00