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().
Loading
Please register or sign in to comment
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().
VideoLAN code repository instance