Opened 12 years ago

Closed 5 years ago

#180 closed defect (fixed)

libc: spawnvpe adds default extention (.exe) preventing execution of scripts without extension

Reported by: bird Owned by: bird
Priority: normal Milestone: libc-0.6.6
Component: libc Version: 0.6
Severity: blocker Keywords:


Stupid bug that shows up in cases like echo file-to-compress | xargs /usr/lib/portage/bin/ecompress.

Change History (6)

comment:1 Changed 9 years ago by bird

  • Status changed from new to assigned

comment:2 Changed 8 years ago by bird

  • Milestone changed from libc-0.6.5 to libc-0.7

comment:3 Changed 5 years ago by dmik

  • Resolution set to duplicate
  • Status changed from assigned to closed

I'm closing this one in favor of #300 as it contains a patch and also provides some related discussion.

comment:4 Changed 5 years ago by bird

  • Milestone changed from libc-0.7 to libc-0.6.6
  • Resolution duplicate deleted
  • Status changed from closed to reopened

comment:5 Changed 5 years ago by bird

Looking at the crazy buffer handling in _path and _searchenv, I decided to re-implement them with proper buffer overflowing, more flexible extension search, and avoiding mistaking directories for files. Committed the 0.6 code in r3903.

comment:6 Changed 5 years ago by bird

  • Resolution set to fixed
  • Status changed from reopened to closed

Forwardported to trunk in r3904.

Note: See TracTickets for help on using tickets.