diff options
Diffstat (limited to 'src/ops.c')
-rw-r--r-- | src/ops.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4556,6 +4556,11 @@ do_join( /* allocate the space for the new line */ newp = alloc(sumsize + 1); + if (newp == NULL) + { + ret = FAIL; + goto theend; + } cend = newp + sumsize; *cend = 0; |