summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 831e3ac..1db9e64 100644
--- a/README.md
+++ b/README.md
@@ -21,3 +21,6 @@
- [ ] thread_pool
- [ ] vec2sw
- [ ] hashmap
+- [x] Stupid bug
+ - In smart arena, when I create a scratch arena and allocate 10 bytes for a char pointer and change them all to non '\0' then end the arena, then create another scratch arena on the same global scratch, allocate 8 bytes and change them all to non '\0', this can not be used as a null terminated string because the byte after 8 (9 in the original buffer) is not a '\0'.
+ - Verdict: Leave it up to the user to allocate strlen+1 bytes.