forked from tTh/FloatImg
molly guard
This commit is contained in:
parent
2460d622b1
commit
bef5954b93
|
@ -188,6 +188,10 @@ if (foo) {
|
||||||
string...
|
string...
|
||||||
*/
|
*/
|
||||||
tmparg = alloca(strlen(argument) + 1);
|
tmparg = alloca(strlen(argument) + 1);
|
||||||
|
if (NULL==tmparg) {
|
||||||
|
fprintf(stderr, "memory panic in %s:%s\n", __FILE__, __func__);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
strcpy(tmparg, argument);
|
strcpy(tmparg, argument);
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
@ -209,3 +213,5 @@ if (verbosity) filterstack_list(numid, __func__);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* ----------------------------------------------------------- */
|
/* ----------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue