• unknown's avatar
    Fix segmentation fault on incorrect configuration. · 267543b3
    unknown authored
    Starting ndb_mgmd on a host which isn't in the configuration file as the ndb_mgmd 
    (e.g. the ip address is different) would have ndb_mgmd segfault.
    
    There was a check in the code, but it was (potentially) trying to dereference null
    
    
    ndb/src/mgmsrv/MgmtSrvr.cpp:
      Don't try and print client_addr->sin_addr if client_addr is null
    267543b3
MgmtSrvr.cpp 69.7 KB