[Bug 3679] uClibc with crosstool-ng builds buggy busybox (argument / parameter problem)

bugzilla at busybox.net bugzilla at busybox.net
Sat May 14 04:50:36 UTC 2011


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

John <smeeze at catlover.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #11 from John <smeeze at catlover.com>  ---
Here is a workaround patch
Apply to ./libbb/appletlib.c:
*** appletlib.c      2011-05-13 21:40:36.000000000 -0700
--- appletlib/c 2011-05-13 21:35:03.000000000 -0700
*************** void FAST_FUNC run_applet_no_and_exit(in
*** 763,769 ****
        }
        if (ENABLE_FEATURE_SUID) 
                check_suid(applet_no);
!       exit(applet_main[applet_no](argc, argv));
  }

  void FAST_FUNC run_applet_and_exit(const char *name, char **argv)
--- 763,769 ----
        }
        if (ENABLE_FEATURE_SUID)
                check_suid(applet_no);
!       exit(applet_main[applet_no](argc, argv+1));
  }

  void FAST_FUNC run_applet_and_exit(const char *name, char **argv)

-- 
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 uClibc-cvs mailing list