mklatinkbd: fix buffer overflow
Fixes #71. R=rsc CC=codebot http://codereview.appspot.com/4327057
This commit is contained in:
parent
8df5d4f621
commit
42ef984cf2
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ char *head = ""
|
|||
typedef struct Trie Trie;
|
||||
struct Trie {
|
||||
int n; /* of characters r */
|
||||
char seq[MAXLD+1];
|
||||
char seq[MAXLD+1+1];
|
||||
Rune r[256];
|
||||
Trie *link[256];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue