This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sparc 32-bit dirent broken


On 10/10/2013 09:05 PM, David Miller wrote:

Commit:

CVE-2013-4237, BZ #14699: Buffer overflow in readdir_r

broke dirent on sparc.

I suspect it has something to do with alignment.  On 32-bit
sparc things must be aligned on a 64-bit boundary even though
"long" is only 32-bit.  So that might have something to do
with the issue.

Sorry about that. Can you post strace output showing the complete buffer that arrives from the kernel?

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]