Skip to content
Snippets Groups Projects
Commit 317f1f95 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

modules: optimize string maximum size checks

No need to go through all the chars when we can test the the maximum size we
want to reach before deciding it's too much with strnlen().
parent a82ecdfa
No related branches found
No related tags found
1 merge request!2477modules: optimize string size checks
Pipeline #260163 passed with stage
in 24 minutes and 58 seconds