Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
string: avoid panic strtok on null input
The behavior of strtok when given a NULL input on the first call is to panic on an unmapped virtual address. This commit changes it by returning NULL instead of panic. Signed-off-by: Daniele Ahmed <ahmeddan amazon c;0m >
- Loading branch information