[Bug 1525578] Re: buffer overflow in getmntent

Phillip Susi phillsusi at gmail.com
Sat Dec 12 22:03:50 UTC 2015


** Attachment added: "fstab"
   https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1525578/+attachment/4533844/+files/fstab

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

Title:
  buffer overflow in getmntent

Status in glibc package in Ubuntu:
  New

Bug description:
  While running valgrind on gparted I noticed a buffer overflow reported
  in getmntent().  I wrote a simple reproducer and verified it is a bug
  in libc.  valgrind shows that it touches 1 byte before the start of
  the buffer it allocated.

  Attaching the reproducer and a copy of my /etc/fstab that it is
  running on when it does this.  When run on /proc/mounts, the bug does
  not occur.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1525578/+subscriptions



More information about the foundations-bugs mailing list