<p></p>
<p><b>@rootkea</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/geany/geany/pull/2960#discussion_r756594085">src/spawn.c</a>:</p>
<pre style='color:#555'>> @@ -694,7 +694,8 @@ static gboolean spawn_async_with_pipes(const gchar *working_directory, const gch
                        for (argc = 0; argv[argc]; argc++);
 
                full_argv = g_renew(gchar *, cl_argv, cl_argc + argc + 1);
-               memcpy(full_argv + cl_argc, argv, argc * sizeof(gchar *));
+               if (argv)
</pre>
<p dir="auto"><a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/elextr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elextr">@elextr</a> Thoughts?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2960#discussion_r756594085">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ7FPFUVLJ3OR5MPIPLUNXG7LANCNFSM5G2EJMIA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ2RJZAZJCX76NTN6LLUNXG7LA5CNFSM5G2EJMIKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOGCON3JY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2960#discussion_r756594085",
"url": "https://github.com/geany/geany/pull/2960#discussion_r756594085",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>