[Goodies-dev] [Bug 9443] New: xfce4-netload-plugin crashed with SIGSEGV in g_strlcat()

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri Nov 2 13:35:18 CET 2012


            Bug ID: 9443
           Summary: xfce4-netload-plugin crashed with SIGSEGV in
    Classification: Panel Plugins
           Product: Xfce4-netload-plugin
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: frivoal at xfce.org
          Reporter: lionel at lefolgoc.net
        QA Contact: goodies-dev at xfce.org

Created attachment 4706
  --> https://bugzilla.xfce.org/attachment.cgi?id=4706&action=edit


In format_byte_humanreadable (), the code uses uidx < sizeof(unit_names) to
check that a later unit_names[uidx] won't do an out of bounds access. But it
doesn't work, if number_displayed is very big it will crash (because
sizeof(unit_names) is greater than the number of elements in the array).

I think it should be G_N_ELEMENTS(unit_names) instead.


You are receiving this mail because:
You are the QA Contact for the bug.

More information about the Goodies-dev mailing list