Closed Alan-Jowett closed 2 years ago
Use strnlen to locate the end of the string (limit it to the end of the string table). Only return the string if the end of the string is entirely contained within the string table.
Signed-off-by: Alan Jowett alanjo@microsoft.com
Accepted. Thank you very much!
Use strnlen to locate the end of the string (limit it to the end of the string table). Only return the string if the end of the string is entirely contained within the string table.
Signed-off-by: Alan Jowett alanjo@microsoft.com