Commit 616ee966 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Fix out-of-bounds write.

parent 50b70125
...@@ -29,7 +29,7 @@ typedef enum { ...@@ -29,7 +29,7 @@ typedef enum {
#define IncSet_filter(inc_) (inc_->filtering ? inc_->modes[INC_FILTER].buffer : NULL) #define IncSet_filter(inc_) (inc_->filtering ? inc_->modes[INC_FILTER].buffer : NULL)
typedef struct IncMode_ { typedef struct IncMode_ {
char buffer[INCMODE_MAX]; char buffer[INCMODE_MAX+1];
int index; int index;
FunctionBar* bar; FunctionBar* bar;
bool isFilter; bool isFilter;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment