We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 77b7042 + 7314efd commit c42ea21Copy full SHA for c42ea21
src/misc1.c
@@ -9946,8 +9946,9 @@ dos_expandpath(
9946
return 0;
9947
}
9948
9949
- /* make room for file name */
9950
- buf = alloc((int)STRLEN(path) + BASENAMELEN + 5);
+ /* Make room for file name. When doing encoding conversion the actual
+ * length may be quite a bit longer, thus use the maximum possible length. */
9951
+ buf = alloc((int)MAXPATHL);
9952
if (buf == NULL)
9953
9954
src/version.c
@@ -756,6 +756,8 @@ static char *(features[]) =
756
757
static int included_patches[] =
758
{ /* Add new patch number below this line */
759
+/**/
760
+ 903,
761
/**/
762
902,
763
0 commit comments