chiark / gitweb /
copyright dates
[chiark-tcl.git] / maskmap / maskmap.c
index ad141a925ca38123224a0cd21cb0ccd2b420cdff..2c90f225180a3ab87496b675c3f71c72ba6aa6f2 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * maskmap - Tcl extension for address mask map data structures
- * Copyright 2006 Ian Jackson
+ * Copyright 2006-2012 Ian Jackson
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License as
@@ -281,6 +281,7 @@ int do_addrmap_amend(ClientData cd, Tcl_Interp *ip,
 
     breaking= &am.entries[searched];
     nreplacements= new.prefix - breaking->prefixlen + 1;
+    fixme check integer overflow ^
     replacements= TALLOC(sizeof(*replacements) * nreplacements);
 
     for (fragmentlen= breaking->prefixlen + 1,