@cryptotaxi247 / netdata-1 / commits / 894323155

Avoid dereference null pointer

Chocobo1 committed Sep 25, 2016 at 18:10 UTC 89432315565a1f35db76436bfa2cdf01dd64b6d0
1 file changed +1 -1
src/registry.c
+1 -1
@@ -970,7 +970,7 @@ MACHINE *registry_request_machine(char *person_guid, char *machine_guid, char *u
970 // make sure the machine exists
971 m = registry_machine_find(request_machine);
972 if(!m) {
973 - info("Registry Machine URLs request: machine not found, person: '%s', machine '%s', url '%s', request machine '%s'", p->guid, m->guid, pu->url->url, request_machine);
973 + info("Registry Machine URLs request: machine not found, person: '%s', machine '%s', url '%s', request machine '%s'", p->guid, machine_guid, pu->url->url, request_machine);
974 return NULL;
975 }
976