Re: findutils-4.3.2: core dump when run as root on Solaris 10 SPARC

2007-03-02 Thread James Youngman
On 3/3/07, Nelson H. F. Beebe <[EMAIL PROTECTED]> wrote: Thanks for the patch to function drop_privs() in locate/locate.c in the findutils-4.3.2 distribution. I've just applied it in a test build, and then ran "locate firefox-2.0.0.2" as an ordinary user, and then as root; both cases succeeded,

Re: findutils-4.3.2: core dump when run as root on Solaris 10 SPARC

2007-03-02 Thread Nelson H. F. Beebe
Thanks for the patch to function drop_privs() in locate/locate.c in the findutils-4.3.2 distribution. I've just applied it in a test build, and then ran "locate firefox-2.0.0.2" as an ordinary user, and then as root; both cases succeeded, and without a core dump as root. I'm going to reinstall th

Re: findutils-4.3.2: core dump when run as root on Solaris 10 SPARC

2007-03-01 Thread Nix
On 1 Mar 2007, James Youngman spake thusly: > I think this is the same problem as described in > http://thread.gmane.org/gmane.comp.gnu.findutils.bugs/2676 > > I haven't fixed it yet though. Sorry. If there's something wrong with the patch, please let me know so I can fix it. -- `In the future,

Re: findutils-4.3.2: core dump when run as root on Solaris 10 SPARC

2007-03-01 Thread James Youngman
On 3/1/07, Nelson H. F. Beebe <[EMAIL PROTECTED]> wrote: The findutils-4.3.2 locate utility dumps core when run as root on Solaris 10 SPARC: I can't yet explain the core dump inside error(). As far as I can see, we are not calling it incorrectly. Addressing the initial problem though, please

Re: findutils-4.3.2: core dump when run as root on Solaris 10 SPARC

2007-03-01 Thread James Youngman
On 3/1/07, Nelson H. F. Beebe <[EMAIL PROTECTED]> wrote: The findutils-4.3.2 locate utility dumps core when run as root on Solaris 10 SPARC: [...] I think this is the same problem as described in http://thread.gmane.org/gmane.comp.gnu.findutils.bugs/2676 I haven't fixed it yet though. Sorry.

findutils-4.3.2: core dump when run as root on Solaris 10 SPARC

2007-02-28 Thread Nelson H. F. Beebe
The findutils-4.3.2 locate utility dumps core when run as root on Solaris 10 SPARC: # gdb /usr/local/bin/locate-4.3.2-dumps-core-as-root GNU gdb 6.6 ... (gdb) run Program received signal SIGSEGV, Segmentation fault. 0xff130db0 in strlen () from /lib