diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-24 19:48:34 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-24 19:48:34 -0300 |
commit | 616ee966d7eea1cdf24889c7a4e9a9fab3136202 (patch) | |
tree | 2769d73a12bdd6f4ad8521c5b55ca54c903b6e65 /IncSet.c | |
parent | 50b701258d0aacca2b857b285e88cd9f03fa4b96 (diff) |
Fix out-of-bounds write.
Diffstat (limited to 'IncSet.c')
-rw-r--r-- | IncSet.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ typedef enum { #define IncSet_filter(inc_) (inc_->filtering ? inc_->modes[INC_FILTER].buffer : NULL) typedef struct IncMode_ { - char buffer[INCMODE_MAX]; + char buffer[INCMODE_MAX+1]; int index; FunctionBar* bar; bool isFilter; |