Hi, In another thread[1], Álvaro gave some feedback for _fileExistsInDirectory function for "too long name" error. Basically, in _fileExistsInDirectory function, we pass dirname and filename but we were checking only the combined length of these two names.
Here, I am attaching a patch which will check lengths of dirname and filename separately and will report errors if the name is too long.
I added a check in some other parts also to report an error for "too long name".
Please review the attached patch and let me know feedback.
From:
Mahendra Singh Thalor Date: Subject:
Re: merge file_exists_in_directory and _fileExistsInDirectory functions and move into common file dumputils.c
Есть вопросы? Напишите нам!
Соглашаюсь с условиями обработки персональных данных
✖
By continuing to browse this website, you agree to the use of cookies. Go to Privacy Policy.