Public bug reported:

Binary package hint: g++-2.95

On dapper, compiling and running the following code produces a core
dump.

If I then copy  libstdc++-3-libc6.2-2-2.10.0.so from my hoary
distribution, I get the correct output.

#include <iostream>

int main()
{
    try
    {
        throw int(1);
    }
    catch (...)
    {
        std::cerr << "caught it!" << std::endl;
    }
}

Dapper

$ ./a.out
Aborted (core dumped)

I copied across the library libstdc++-libc6.2-2.so.3 from my Hoary 5.04
machine and ran the above program

$ LD_PRELOAD=./libstdc++-3-libc6.2-2-2.10.0.so ./a.out
caught it!

I've marked it a security risk because I don't know what programs will
call abort rather than handle exceptions correctly.

** Affects: gcc-2.95 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

** Visibility changed to: Public

** This bug is no longer flagged as a security issue

-- 
dapper exceptions do not work, seems regression from hoary
https://launchpad.net/bugs/74619

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to