title: Strange integer value causing segmentation fault
body: <p>I got a function find_nodes() with a loop inside:</p>
  
  <pre><code>for (htmlNodePtr current_node=root_node
      ; current_node!=NULL
      ; current_node=current_node-&gt;next) 
  {
      if (xmlHasProp(current_node,(xmlChar *)"href")) {
          if (xmlHasProp(current_node,(xmlChar *)attribute)) {
              if (strcmp(value,
                  (char *)xmlGetProp(current_node,(xmlChar *)attribute))==0) {
                      found_nodes[numb_found]=current_node;
                      numb_found++;
              }
          }
      }
  
      find_nodes(found_nodes,numb_found,
                 current_node-&gt;children,mode,attribute,value);
  
  }
  </code></pre>
  
  <p>I'm getting segmentation fault in this assignment:</p>
  
  <pre><code>found_nodes[numb_found]=current_node;
  </code></pre>
  
  <p>I checked the numb_found value and it's ok for few iterations, and after that instead of few+1 it equals -1207604106</p>
  
  <p>What could cause that?</p>