Why is strtok() Considered Unsafe?
According with the strtok_s section of this document: 6.7.3.1 The strtok_s function The strtok_s function fixes two problems in the strtok function: A new parameter, s1max, prevents strtok_s from storing outside of the string being tokenized. (The string being divided into tokens is both an input and output of the function since strtok_s stores null … Read more