This does not seem security relevant, so making this public. It's a bit
weird, though. The code called is

   if (Map.Size() > sizeof(header)) {
      adler = adler32(adler,
                      static_cast<const unsigned char *>(GetMap().Data()) + 
sizeof(header),
                      GetMap().Size() - sizeof(header));
   }

so, the map should be readable there and for that size. Something is off
with the size, though, it's about 140 TB.  And the address is off, so
the mmap data structure must have gone completely nuts.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1726789

Title:
  apt-get crashed with signal 7 in adler32_z()

Status in apt package in Ubuntu:
  New

Bug description:
  This error came up due to multiple reporting errors in my Ubuntu MATE
  installation.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.10
  Package: apt 1.5
  ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
  Uname: Linux 4.13.0-16-generic x86_64
  ApportVersion: 2.20.7-0ubuntu3
  Architecture: amd64
  CrashCounter: 1
  Date: Tue Oct 24 10:25:56 2017
  ExecutablePath: /usr/bin/apt-get
  InstallationDate: Installed on 2017-10-23 (0 days ago)
  InstallationMedia: Ubuntu-MATE 17.10 "Artful Aardvark" - Release amd64 
(20171018)
  ProcCmdline: apt-get check -qq
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
  Signal: 7
  SourcePackage: apt
  StacktraceTop:
   adler32_z () from /lib/x86_64-linux-gnu/libz.so.1
   ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
   pkgCache::ReMap(bool const&) () from 
/usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
   pkgCache::pkgCache(MMap*, bool) () from 
/usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
   ?? () from /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0
  Title: apt-get crashed with signal 7 in adler32_z()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1726789/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to