[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
exec and bzip2
From: |
Samuel Thibault |
Subject: |
exec and bzip2 |
Date: |
Tue, 31 Mar 2009 02:36:37 +0200 |
User-agent: |
Mutt/1.5.12-2006-07-14 |
Hello Roland,
You knew we'd be bitten by the bug someday, and that's today. From
exec/exec.c:
/* XXX all accesses of the mapped data need to use fault handling
to abort the RPC when mapped file data generates bad page faults.
I've marked some accesses with XXX/fault comments.
--roland */
And it happens that we do get faults when trying to bunzip2 the binary,
i.e. from the zipread() function. So what's the plan? If the offset is
really bogus, I guess we could use a safe version of memcpy and
longjmp(ziperr) when things go wrong?
For now I have disabled gzip/bzip2 support from the exec used by the
Debian hurd-i386 buildd.
Samuel
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- exec and bzip2,
Samuel Thibault <=