summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/img4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/img4.c b/src/img4.c
index 17a4664..18d8ab3 100644
--- a/src/img4.c
+++ b/src/img4.c
@@ -34,7 +34,7 @@
static unsigned char* asn1_create_element_header(unsigned char type, unsigned int size, unsigned char** data, unsigned int *data_size)
{
- unsigned char buf[5];
+ unsigned char buf[6];
unsigned int off = 0;
if (!type || size == 0 || !data || !data_size) {