Soft'N'Design Software
/
projects
/
compress.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f86e2c
)
fix segfault
author
Laurent Mazet
<mazet@softndesign.org>
Mon, 16 Jan 2023 21:01:07 +0000
(22:01 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Mon, 16 Jan 2023 21:01:07 +0000
(22:01 +0100)
compress.c
patch
|
blob
|
blame
|
history
diff --git
a/compress.c
b/compress.c
index bd343842da026aae79be2baa0e68368931d4f090..f92393a47102e56e227cdfd9b2d6a86a4c9c3f5c 100644
(file)
--- a/
compress.c
+++ b/
compress.c
@@
-94,7
+94,7
@@
void print_occ_table (int *table)
leaf_t **init_forest (int *table)
{
- static leaf_t *leafs[NB_BYTES] = {0};
+ static leaf_t *leafs[NB_BYTES
+ 1
] = {0};
int nb_leafs = 0;
int i, l;