On 10/18/2016 12:20 PM, Nathan Fontenot wrote: > The pasrsing of data written to the dlpar file in sysfs does not correctly > account for the possibility of reading past the end of the buffer. Correct > this by updating the buffer parsing code to make a local copy and use the > strsep() and sysfs_streq() routines to parse the buffer. This also > separates the parsing code into subroutines to make cleaner. > > Signed-off-by: Nathan Fontenot <nf...@linux.vnet.ibm.com> > ---
Reviewed-by: John Allen <jal...@linux.vnet.ibm.com>