The max length of path did not take into account the null termination symbol, thus causing a potential buffer overflow in sscanf result. Increase its size by 1. Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com> Change-Id: I07b271e997b6a5144d0dedc04ecf6f2b35eca57d