Changeset 31eed12e59a6d35dbdc8812d8a54d76864f05df4

Show
Ignore:
Timestamp:
03/16/09 18:51:34 (5 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1237229494 +0000
git-parent:

[876ca61caf4e64c6bfab8b212d12e198d7c2ed11]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1237229494 +0000
Message:

if a bad uuid gets in there, this crashes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/noit_conf_checks.c

    rfc52ce1 r31eed12  
    10151015      noit_check_t *check; 
    10161016      check = noit_poller_lookup(checkid); 
    1017       if(NOIT_CHECK_LIVE(check)) active++; 
     1017      if(check && NOIT_CHECK_LIVE(check)) active++; 
    10181018    } 
    10191019  } 
     
    11241124        noit_check_t *check; 
    11251125        check = noit_poller_lookup(checkid); 
    1126         if(NOIT_CHECK_LIVE(check)) active++; 
     1126        if(check && NOIT_CHECK_LIVE(check)) active++; 
    11271127      } 
    11281128    } 
     
    11481148      noit_check_t *check; 
    11491149      check = noit_poller_lookup(checkid); 
    1150       if(NOIT_CHECK_LIVE(check)) active++; 
     1150      if(check && NOIT_CHECK_LIVE(check)) active++; 
    11511151    } 
    11521152  }