Package: thunderbird
Version: 1:45.7.1-1
Severity: normal
Control: forwarded -1 https://bugzilla.mozilla.org/show_bug.cgi?id=1340724


Launch thunderbird with:

NSPR_LOG_MODULES=smtp:5 NSPR_LOG_FILE=/tmp/thunderbird.log thunderbird

compose and send a message.

the log /tmp/thunderbird.log will contain something like:

 -321738944[7fb1eb8a2380]: SMTP AuthLoginStep1() for 
testu...@example.com@<90><F6>^K<EA><B1>^?

that trailing garbage is bad!  it should represent a string-like
description of the smtp server or something.

Looking at:

https://dxr.mozilla.org/comm-central/source/mailnews/compose/src/nsSmtpProtocol.cpp#1460

shows that what should be a string pointer is being retrieved from an
nsCOMPtr<nsISmtpServer>.get() function, which is just a nsISmtpServer*
-- i think it should be calling GetHostname or GetDescription or
something comparable instead of handing a raw pointer to the logging
function.

sorry i don't have the build capacity to test a patch right now (i
wish it was cheaper and simpler to build thunderbird!), but i think
that's where it needs to be fixed.

I've also reported the problem upstream, though i don't know how much
activity is there these days.

       --dkg


-- System Information:
Debian Release: 9.0
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 
'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages thunderbird depends on:
ii  debianutils               4.8.1
ii  fontconfig                2.11.0-6.7
ii  libasound2                1.1.3-4
ii  libatk1.0-0               2.22.0-1
ii  libc6                     2.24-9
ii  libcairo2                 1.14.8-1
ii  libdbus-1-3               1.10.14-1
ii  libdbus-glib-1-2          0.108-2
ii  libevent-2.0-5            2.0.21-stable-2.1
ii  libffi6                   3.2.1-6
ii  libfontconfig1            2.11.0-6.7
ii  libfreetype6              2.6.3-3+b1
ii  libgcc1                   1:6.3.0-6
ii  libgdk-pixbuf2.0-0        2.36.4-1
ii  libglib2.0-0              2.50.2-2
ii  libgtk2.0-0               2.24.31-2
ii  libhunspell-1.4-0         1.4.1-2+b1
ii  libicu57                  57.1-5
ii  libnspr4                  2:4.12-6
ii  libnss3                   2:3.26.2-1
ii  libpango-1.0-0            1.40.3-3
ii  libpangocairo-1.0-0       1.40.3-3
ii  libpangoft2-1.0-0         1.40.3-3
ii  libpixman-1-0             0.34.0-1
ii  libsqlite3-0              3.16.2-2
ii  libstartup-notification0  0.12-4
ii  libstdc++6                6.3.0-6
ii  libvpx4                   1.6.1-2
ii  libx11-6                  2:1.6.4-3
ii  libxcomposite1            1:0.4.4-2
ii  libxdamage1               1:1.1.4-2+b1
ii  libxext6                  2:1.3.3-1
ii  libxfixes3                1:5.0.3-1
ii  libxrender1               1:0.9.10-1
ii  libxt6                    1:1.1.5-1
ii  psmisc                    22.21-2.1+b1
ii  zlib1g                    1:1.2.8.dfsg-5

Versions of packages thunderbird recommends:
ii  lightning                                                 1:45.7.1-1
pn  myspell-en-us | hunspell-dictionary | myspell-dictionary  <none>

Versions of packages thunderbird suggests:
pn  apparmor          <none>
ii  fonts-lyx         2.2.2-1
ii  libgssapi-krb5-2  1.15-1

-- no debconf information

Reply via email to