[Bug 12306] New: xz applet not reporting errors

bugzilla at busybox.net bugzilla at busybox.net
Sat Nov 2 17:23:38 UTC 2019


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

            Bug ID: 12306
           Summary: xz applet not reporting errors
           Product: Busybox
           Version: 1.31.x
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at busybox.net
          Reporter: yetanothergeek at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

With previous versions of busybox the xz applet would report an error and exit
with error status if the input was invalid:


echo ThisIsNotXZ | busybox xz -dc ; echo $?

xz: corrupted data
1


But the latest version does not show any error message and exits with zero:

echo ThisIsNotXZ | busybox xz -dc ; echo $?
0


I have not checked for sure, but this might be caused by commit
42f454b13b8d972e85acd7f046065ec69af4d206

"dpkg-deb: work around bogus error message when working with XZ compressed
packages"

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list