noxxi / p5-net-sip

Net::SIP Perl Module
Other
15 stars 22 forks source link

Set SocketPool's rbuf and wbuf to empty buffers when adding new peer socket #59

Closed pali closed 1 year ago

pali commented 2 years ago

This fixes uninitialized value warnings when new peer socket is initialized via SocketPool->new method:

Use of uninitialized value in string ne at lib/Net/SIP/SocketPool.pm line 464. Use of uninitialized value in sysread at lib/Net/SIP/SocketPool.pm line 471.