busybox-1.1.1-rc1 is in downloads/temp.

Jean Wolter jw5 at os.inf.tu-dresden.de
Thu Mar 23 12:14:14 UTC 2006


Rob Landley <rob at landley.net> writes:

> This is svn 14598, and if nobody finds any show stoppers they go into the 
> downloads directory as the final version this evening.  (At which point, the 
> tree is fully unfrozen again for at least a month.)

- insmod is broken for little endian machines. It is the only applet
  checking for BB_LITTLE_ENDIAN, which is not defined
  anywhere. Everyone else checks for the opposite BB_BIG_ENDIAN.

#if BB_LITTLE_ENDIAN
# define ELFDATAM       ELFDATA2LSB
#else
# define ELFDATAM       ELFDATA2MSB
#endif

- tr raises a segmentation fault when invoked as tr '[a-z]' '[A-Z]';
  looks like expand() gets the pointer positioning wrong:

                } else if (*arg == '[') {
                        arg++;
                        if (*arg++ != '-') {
                                *buffer++ = '[';
                                arg -= 2;
                                continue;
                        }

  arg points to '[' again and therefore runs into an endless loop
  which is terminated by a sigsegv.

regards,
Jean



More information about the busybox mailing list