In testing some CallModule code, I noticed this ABR in the List module.

     The last iteration through the input args, we fetch a non-existant
element just past the end of the array.  I haven't built with this patch
(it's not holding me up), but the problem and fix seem pretty apparent.

Randall

-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711
--- src/exec/dxmods/ORIG/list.c Mon May 10 11:45:27 1999
+++ src/exec/dxmods/list.c      Fri Jul 21 11:30:49 2000
@@ -86,7 +86,9 @@
      *  otherwise, make sure the type matches the first parm, and add
      *  the data to the list.
      */
-    for (onum = 0, next = in[onum]; onum < MAXOBJECTS; next = in[++onum]) {
+    for (onum = 0; onum < MAXOBJECTS; ++onum) {
+
+       next = in[onum];
 
         /* skip nulls */
         if (!next) {

Reply via email to