Bug 3258 - Crash if a Net::DNS::Resolver object couldn't be created.
: Crash if a Net::DNS::Resolver object couldn't be created.
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 6.5b1
: All All
: P2 normal (vote)
: ---
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-10 09:28 UTC by Dan Sully
Modified: 2006-04-10 10:06 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Sully 2006-04-10 09:28:11 UTC
If this line fails:

my $bgsock   = $resolver->bgsend( $args{'Host'} );

$bgsock is undefined, and we can crash here:

Can't use an undefined value as a symbol reference at Slim/Networking/AsyncHTTP.pm line 59.
Comment 1 Andy Grundman 2006-04-10 10:06:48 UTC
Fixed.