uqs f24014c87e Fix undefined behavior when using asmc_fan_getstring()
It was returning a pointer to stack-allocated memory, so make the
allocation at the caller instead.

Found by:	clang static analyzer
Coverity:	CID 1245774
Reviewed by:	ed, rpaulo
Review URL:	https://reviews.freebsd.org/D4740
2016-01-05 10:25:22 +00:00
..
2015-12-25 14:51:36 +00:00
2015-12-24 02:35:59 +00:00
2015-12-25 14:51:36 +00:00
2016-01-01 17:56:52 +00:00
2016-01-01 15:17:24 +00:00