Fix a buffer overrun that can occur when parsing '%c' at the end of a filename pattern string. rdar://74571261 Reviewed By: kastiglione Differential Revision: https://reviews.llvm.org/D97239