summaryrefslogtreecommitdiff
path: root/plugins/hddtemp/hddtemp-plugin.c
AgeCommit message (Collapse)AuthorFilesLines
2015-07-20hddtemp: Remove duplicate variableinfirit1-1/+0
It causes segfault and fixes #34
2015-07-07hddtemp: use g_strcmp0 instead of strcmpinfirit1-3/+3
Passing NULL to strcmp could be unsafe or at the minimum result in undefined behaviour. g_strcmp0 handles NULL gracefully and returns 0.
2015-07-07Fix up string check errorsAlex Murray1-1/+6
2015-07-07hddtemp-plugin: close socket fd if connect fails to avoid leaking fdAlex Murray1-0/+1
2015-07-07Cleanup hddtemp plugin socket reading code to avoid possible memory corruptionAlex Murray1-19/+20
Make sure we don't write past the bounds of the output buffer - thanks to JeanFI for noticing this issue.
2015-07-07Revert "Remove unused variable"infirit1-0/+1
This reverts commit d8579bd621de7940780565343d4d8df7c50f9403.
2015-07-07Remove unused variableinfirit1-1/+0
2012-12-18hddtemp-plugin: Fix string compareStefano Karapetsas1-1/+2
2012-12-18Add missing includesStefano Karapetsas1-0/+1
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-1/+1
2011-11-21Initial release bases on sensors-appletStefano Karapetsas1-0/+243