Wireshark-bugs: [Wireshark-bugs] [Bug 8888] New: iostat_draw sizeof mismatch
Date: Wed, 03 Jul 2013 11:41:12 +0000
Bug ID 8888
Summary iostat_draw sizeof mismatch
Classification Unclassified
Product Wireshark
Version SVN
Hardware x86
OS All
Status UNCONFIRMED
Severity Major
Priority Low
Component TShark
Assignee bugzilla-admin@wireshark.org
Reporter phatina@redhat.com

Created attachment 11133 [details]
Proposed fix for wrong g_malloc size

Build Information:

--
ui/cli/tap-iostat.c:930:suspicious_sizeof -- Passing argument "80UL /* sizeof
(io_stat_item_t) */ * num_cols" to function "g_malloc(gsize)" and then casting
the return value to "io_stat_item_t **" is suspicious.


You are receiving this mail because:
  • You are watching all bug changes.