Fix out-of-bounds write.

This commit is contained in:
Hisham Muhammad 2014-04-24 19:48:34 -03:00
parent 50b701258d
commit 616ee966d7

View File

@ -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;