I suspected it may be a false positive in valgrind from such an optimization in eglibc, but looking at the uncommented glibc source, I can not tell if it actually is safe and won't cross a page boundary. If it can't cross a page boundary, then yes, valgrind should be configured to ignore it, but if it can, then it certainly is a bug.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1089722 Title: wcslen reads beyond the end of the buffer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1089722/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs