aboutsummaryrefslogtreecommitdiff
path: root/modules/devices/usb.c
AgeCommit message (Collapse)Author
2017-10-29Fixed possible memory leak (#201)Roman Kalashnikov
Warnings, found using PVS-Studio: hardinfo/modules/devices/usb.c 397 err V773 The function was exited without releasing the 'temp' pointer. A memory leak is possible. hardinfo/modules/computer/uptime.c 33 err V773 The function was exited without releasing the 'ui' pointer. A memory leak is possible.
2017-08-14usb.c: tweaks and make strings translatableBurt P
Only tested __scan_usb_lsusb(). I can't test __scan_usb_procfs() or __scan_usb_sysfs() because those do not work on any machine I have access to. Signed-off-by: Burt P <pburt0@gmail.com>
2016-07-30Fix multiple problems in USB device listingLeandro Pereira
2015-10-25ARM fixes.jamesbond
2015-10-25quote lsusb -v output so it is safe for hardinfo.jamesbond
2015-10-25fix usb information display.jamesbond
2015-10-25revert commit [d5afcb6851]; fix the real cause of missing RAM display (use ↵jamesbond
moreinfo_lookup rather than hi_more_info); fix usb display crashing (util.c now looks for lsusb in /usr/sbin first); fix glibc version not showing (glibc located in /lib64/libc.so.6); initial support for DDR3 spd-decoding (incomplete, the manufacturer is not shown yet).
2013-03-05Fix parsing of usb devicesGeorge Schneeloch
This creates a temporary file with the lsusb information, which allows fseek to work properly.
2012-01-26Better manage moreinfo hashesLeandro Pereira
Have only one for the whole program and use per-module namespaces/prefixes so that each module can clear its own information easily.
2012-01-22Fix USB device listing when parsing lsusb outputLeandro Pereira
2010-08-15Fix potential problems found by clang static analyzer.Leandro Pereira
2010-05-03Move files from hardinfo2 to root.Leandro A. F. Pereira