projects
/
platform
/
upstream
/
libtasn1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c118ee
)
name has size of ASN1_MAX_NAME_SIZE+1 to allow for a terminating null.
author
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Fri, 14 Sep 2012 16:08:10 +0000
(18:08 +0200)
committer
Nikos Mavrogiannopoulos
<nmav@gnutls.org>
Fri, 14 Sep 2012 16:08:10 +0000
(18:08 +0200)
lib/int.h
patch
|
blob
|
history
diff --git
a/lib/int.h
b/lib/int.h
index
65e3c0e
..
fad4dbe
100644
(file)
--- a/
lib/int.h
+++ b/
lib/int.h
@@
-46,7
+46,7
@@
struct node_asn_struct
{
/* public fields: */
- char name[ASN1_MAX_NAME_SIZE
];
/* Node name */
+ char name[ASN1_MAX_NAME_SIZE
+1];
/* Node name */
unsigned int type; /* Node type */
unsigned char *value; /* Node value */
int value_len;