chiark / gitweb /
use of int and overflow review
[chiark-tcl.git] / maskmap / maskmap.c
index ad141a9..8fa6dc2 100644 (file)
@@ -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,