[Bug 123] New: Executes empty files without issues

bugzilla at busybox.net bugzilla at busybox.net
Mon Feb 23 08:55:38 UTC 2009


https://bugs.busybox.net/show_bug.cgi?id=123

           Summary: Executes empty files without issues
           Product: Busybox
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: sven at lanedo.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


This is busybox 1.10.2 (please re-check with a more recent version).

Steps to reproduce:
~ $ touch exec
~ $ chmod +x exec
~ $ ./exec
~ $ echo $?

Expected result:
127

Actual result:
0

This is a pain, I spent 30mins of debugging until I realized that scp has
created and empty file only (which shouldn't be executable).


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list