Skip to content

Commit

Permalink
fix segfault in portmap code. refs appneta#459
Browse files Browse the repository at this point in the history
  • Loading branch information
synfinatic committed May 21, 2011
1 parent b18a2f6 commit 7081bbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ $Id$
- Add --nofixcsum (#449)
- Fix compile failure under FreeBSD 9.0 (#450)
- Don't checksum packets before going through fragroute engine (#452)
- Fix segfault when rewriting multiple ports (#459)


08/15/2010 Version 3.4.5beta1
Expand Down
2 changes: 1 addition & 1 deletion src/tcpedit/portmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ ports2PORT(char *ports)
portmap_last = portmap;
portmap = portmap->next;
}
portmap_last = NULL;
portmap_last->next = NULL;
free(portmap);
}
/* process a list via +, filling in list[] */
Expand Down

0 comments on commit 7081bbb

Please sign in to comment.