_Py_wrealpath() requires the size of the output buffer
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index 1eba28e..d02ee5b 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1742,7 +1742,7 @@
 #else /* All other filename syntaxes */
     if (_HAVE_SCRIPT_ARGUMENT(argc, argv)) {
 #if defined(HAVE_REALPATH)
-        if (_Py_wrealpath(argv0, fullpath)) {
+        if (_Py_wrealpath(argv0, fullpath, PATH_MAX)) {
             argv0 = fullpath;
         }
 #endif