Fix potential buffer overflow in settings.c

Change-Id: Ie8953e3ffc5188685f1ea056863bfbdb817080a7
1 file changed