deadpixi / sam

An updated version of the sam text editor.
Other
436 stars 47 forks source link

avoid gcc warnings (buffer overflow) #97

Closed ghost closed 5 years ago

ghost commented 5 years ago

https://github.com/deadpixi/sam/blob/master/sam/sam.c#L103

    char cmd[B_CMD_MAX+1] = {0};

added +1

deadpixi commented 5 years ago

Added, thank you.