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 Ubuntu Bugs, which is subscribed to 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 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs