jackmitch/libsoc — pull request #3 by yegorich (2014-01-26 10:22:57+00:00)
Title: pwm: fix subscription error

tmp_str array has a size of 1, so tmp_str[1] access is out of range.
Besides file_read_str() reads only one byte and strncmp() compares only
one byte too.

Signed-off-by: Yegor Yefremov