Skip to content

Commit

Permalink
Fix bad range alloc in main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
nickolasburr committed Jul 17, 2018
1 parent e67574f commit b32afde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ int main (int argc, char **argv) {
for (index = 1; index < argc; index += 1) {
switch (index) {
case 1:
range = ALLOC(sizeof(argv[index]));
range = ALLOC(sizeof(argv[index]) + NULL_BYTE);
copy(range, argv[index]);

zindex = 0;
Expand Down

0 comments on commit b32afde

Please sign in to comment.