librmnetctl: Fix potential overflow

Change bound from <= to < to avoid potential buffer overflow.

Change-Id: Ib08d4913d9861f064a046cda5dc61f639a81bf28
1 file changed