[Bug 2593] New: uni_stat_t uni_stat should be memory zero be call unicode_conv_to_printable

bugzilla at busybox.net bugzilla at busybox.net
Mon Sep 20 05:29:49 UTC 2010


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

           Summary: uni_stat_t uni_stat should be memory zero be call
                    unicode_conv_to_printable
           Product: Busybox
           Version: 1.17.x
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P5
         Component: Standard Compliance
        AssignedTo: unassigned at busybox.net
        ReportedBy: dengxf at dengh.com
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


we use df -m in a script, an daemon program call it and get wrong output.
then trace it found int df.c:180. after call unicode_conv_to_printable

uni_stat.unicode_width < 0

when i memset uni_stat first, all works right.

and also found some use of uni_stat, but none zero memset.

-- 
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