There was a bug in the minimal example, since there was a missing b++. It seems that I hit an example where the behavior is left unspecified and C++ is free to produce whatever code it wants. This is bad, but not a security issue by itself.
** Visibility changed to: Public ** This bug is no longer flagged as a security issue ** Changed in: gcc-4.3 (Ubuntu) Status: New => Invalid -- std::sort algorithm reads past end of vector https://bugs.launchpad.net/bugs/245236 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs