id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,mlocked 2607,potential NULL dereference in dbox2recorder.cpp,jim@…,danielk,"Spotted while looking through the code: in DBox2Recorder::OpenStream(), if {{{ struct hostent * hp = gethostbyname(ip); }}} fails, it will set hp = NULL. A few lines down: {{{ adr.sin_addr.s_addr = ((struct in_addr *)(hp->h_addr))->s_addr; }}} which will then dereference it. Untested patch attached.",defect,closed,minor,0.21,mythtv,head,low,fixed,,,0