Public bug reported: In the TLS.pm module, there appears to be a missing line of code. On line 369, there's an assignment for $len variable but the $offset variable isn't updated. The $offset needs to be incremented as well.
TO fix it, a line needs to be added after $len -= $w: ADD: $offset += $w; This should fix the bug. It's been documented in the CPAN bug tracker too: https://rt.cpan.org/Public/Bug/Display.html?id=63538 As well as in PerlMonks: http://www.perlmonks.org/?node_id=929055 Quang ** Affects: libnet-smtp-tls-perl (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Debian Perl Group, which is subscribed to libnet-smtp-tls-perl in Ubuntu. https://bugs.launchpad.net/bugs/1657917 Title: TLS.pm module has bug in calculating the offset in function datasend To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libnet-smtp-tls-perl/+bug/1657917/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~pkg-perl-maintainers Post to : [email protected] Unsubscribe : https://launchpad.net/~pkg-perl-maintainers More help : https://help.launchpad.net/ListHelp

