[Bug 1089722] Re: wcslen reads beyond the end of the buffer

Pjfloyd 1089722 at bugs.launchpad.net
Fri Jan 26 09:19:03 UTC 2024


This should be closed.

commit ec3a16088b1992e3ab3ca3f2cb93adeacc247064
Author: Julian Seward <jseward at acm.org>
Date:   Fri Aug 24 14:44:27 2012 +0000

    Implement a wrapper for wcslen on Linux, assuming that
    sizeof(wchar_t) == 4, which I believe to be true on both Linux
    and MacOSX.  Fixes #298281.
    
    
    
    git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12893

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/1089722

Title:
  wcslen reads beyond the end of the buffer

Status in Valgrind:
  Unknown
Status in valgrind package in Ubuntu:
  Triaged

Bug description:
  valgrind reports many errors of wcslen reading beyond the end of the
  buffer.  It appears that sysdeps/x86_64/wcslen.S tries do do 64 bit
  reads which can result in reading beyond the end of the buffer if
  there are less than 64 bits left.

To manage notifications about this bug go to:
https://bugs.launchpad.net/valgrind/+bug/1089722/+subscriptions




More information about the foundations-bugs mailing list