Public bug reported:
Binary package hint: apt-cacher-ng
Hi,
as simple as that, the code that generates HTTP error response (like 404
pages) reads a string from an object which becomes invalidated
somewhere inbetween.
The problem remained undiscovered because an optimized build does not
show the symptoms at least on amd64 systems. But if you build it with
-O0 then the symptoms might appear in 3 of 4 times, and of course this
depends on the environment, libstdc++ behavior, etc. Valgrind reveals it
pretty quickly when "apt-get updates" floods the server with requests.
Fix is simple (attached).
** Affects: apt-cacher-ng (Ubuntu)
Importance: Undecided
Status: New
--
invalid memory access when creating HTTP error response
https://bugs.launchpad.net/bugs/638779
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs