First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 166233
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Rafal Wijata <09@wijata.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
findutils-4.3.2-invalid-args.patch findutils-4.3.2-invalid-args.patch patch Harald van Dijk 2007-02-10 18:34 0000 1.56 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 166233 depends on: Show dependency tree
Bug 166233 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-02-10 17:58 0000
I know it's wrong syntax, but I entered that by mistake and received SEGV.

Reproducible: Always

Actual Results:  
SIGSEGV

Expected Results:  
Invalid argument

Verified on two different machines. Compiled with
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -DNDEBUG
-DG_DISABLE_ASSERT"
maybe the -O3 caused the problem, but on other distributions I'm getting
invaild arg.
Please verify.

------- Comment #1 From Christian Heim (RETIRED) 2007-02-10 18:03:10 0000 -------
(In reply to comment #0)
> I know it's wrong syntax, but I entered that by mistake and received SEGV.
> 
> Reproducible: Always
> 
> Actual Results:  
> SIGSEGV
> 
> Expected Results:  
> Invalid argument
> 
> Verified on two different machines. Compiled with
> CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -DNDEBUG
> -DG_DISABLE_ASSERT"
> maybe the -O3 caused the problem, but on other distributions I'm getting
> invaild arg.

Happens here too with CFLAGS="-O2 -g -ggdb2 -pipe".

------- Comment #2 From Christian Heim (RETIRED) 2007-02-10 18:04:00 0000 -------
Reassigning to base-system.

------- Comment #3 From Harald van Dijk 2007-02-10 18:34:02 0000 -------
Created an attachment (id=109797) [details]
findutils-4.3.2-invalid-args.patch

findutils should check pointers for NULL before trying to dereference them...
With this patch, I get a proper error message:

  find: invalid argument `!' to `-uid'

------- Comment #4 From SpanKY 2007-02-10 18:42:05 0000 -------
weak, i just finished writing that patch ;P

most other distros are using findutils-4.2.x which doesnt have this problem

fixed in 4.3.2-r1

------- Comment #5 From Harald van Dijk 2007-06-04 20:55:11 0000 -------
*** Bug 180830 has been marked as a duplicate of this bug. ***

------- Comment #6 From Harald van Dijk 2007-06-04 20:56:43 0000 -------
SpanKY: you dropped the patch though it's not fixed yet, would you please add
it back?

------- Comment #7 From SpanKY 2007-06-11 05:42:16 0000 -------
4.3.7 seems to have this fixed

First Last Prev Next    No search results available      Search page      Enter new bug