Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Thu, 27 Jun 2019 08:49:00 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: getdents* bug

On Thu, Jun 27, 2019 at 11:54:02AM +0200, Florian Weimer wrote:
> The kernel only accepts buffer size values up to INT_MAX.  I agree that
> size_t is the correct type for the buffer size, but it means that
> userspace needs to clamp large values to INT_MAX.

Thanks! I forgot that we even had an exposed version of that syscall.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.