handle some malloc failures
Here's a series of patches to fix or mark-with-comment uses of malloc where a failure can lead to NULL dereference. I started off fixing them, but there were pretty many, so after a while I merely marked them.
Note I've marked a use of strdup, too. While I went through the entire list of uses of malloc, I haven't done the same for strdup. That was just the first one I spotted.
Jim
From e0d6d82db2f6aa8029b6be2cbc387cef749b81af Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Mon, 13 Oct 2008 15:57:20 +0200
Subject: [PATCH] don't dereference NULL upon failed malloc
* cman/daemon/daemon.c (process_rendezvous): Fix typo (s/con/newcon/) that would make a failed realloc cause a NULL dereference.
--- cman/daemon/daemon.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
cman/daemon/daemon.c +1 -1
@@ -329,7 +329,7 @@ static int process_rendezvous(poll_handle handle, int fd, int revent, void *data client_fd =accept (fd, (struct sockaddr *) &socka, &sl);if (client_fd >=0 ) {struct connection *newcon =malloc (sizeof (struct connection )); -if (!con) { +if (!newcon) {close (client_fd);return 0 ;/* returning -1 will remove us */ }
Signature · 11 lines
1.6.0.2.514.g23abd3 From 4c5232b19de55b706e060d7e59272f1851bd8930 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 13 Oct 2008 16:11:53 +0200 Subject: [PATCH] * cman/lib/libcman.c (cman_dispatch): Handle a failed malloc. --- cman/lib/libcman.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
cman/lib/libcman.c +2 -0
@@ -518,6 +518,8 @@ int cman_dispatch(cman_handle_t handle, int flags)if (header->length >sizeof (buf)) { bufptr =malloc (header->length); +if (!bufptr) +return -1 ;memcpy (bufptr, buf,sizeof (*header)); header = (struct sock_header *)bufptr; }
Signature · 11 lines
1.6.0.2.514.g23abd3 From 43d3ff3bde54bf32de2d003ff7f767691690ba31 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 13 Oct 2008 16:21:31 +0200 Subject: [PATCH] * fence/agents/xvm/ip_lookup.c (add_ip): Handle malloc failure. --- fence/agents/xvm/ip_lookup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
fence/agents/xvm/ip_lookup.c +2 -0
@@ -73,6 +73,8 @@ add_ip(ip_list_t *ipl, char *ipaddr, char family)dbg_printf (4 ,"Adding IP %s to list (family %d)\n" , ipaddr, family); ipa =malloc (sizeof (*ipa)); +if (!ipa) +return -1 ;memset (ipa,0 ,sizeof (*ipa)); ipa->ipa_family = family; ipa->ipa_address =strdup (ipaddr);
Signature · 11 lines
1.6.0.2.514.g23abd3 From c6ab824d5c46b016769dd95e96a4eb135feb2b98 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 13 Oct 2008 17:08:45 +0200 Subject: [PATCH] * gfs/gfs_fsck/inode.c (check_inode): handle failed malloc --- gfs/gfs_fsck/inode.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)
gfs/gfs_fsck/inode.c +5 -1
@@ -125,7 +125,11 @@ static int fs_get_istruct(struct fsck_sb *sdp, struct gfs_inum *inum, goto out; } - ip = (struct fsck_inode *)malloc (sizeof (struct fsck_inode )); +if (!(ip = (struct fsck_inode *)malloc (sizeof (struct fsck_inode )))) { +log_err ("Unable to allocate memory for inode\n" ); + error =-1 ; + goto out; + } ip->i_num = *inum; ip->i_sbd = sdp;
Signature · 13 lines
1.6.0.2.514.g23abd3 From df2d490961b836fdd129ed724376813908fc4b6c Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 13 Oct 2008 16:31:54 +0200 Subject: [PATCH] remove dead code (useless test of memset return value) * gfs/gfs_fsck/block_list.c (block_list_create): memset can't fail. There are many more like this. --- gfs/gfs_fsck/block_list.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
gfs/gfs_fsck/block_list.c +1 -4
@@ -23,10 +23,7 @@ struct block_list *block_list_create(uint64_t size, enum block_list_type type)log_info ("Creating a block list of size %" PRIu64"...\n" , size);if ((il =malloc (sizeof (*il)))) { -if (!memset (il,0 ,sizeof (*il))) { -log_err ("Cannot set block list to zero\n" ); -return NULL ; - } +memset (il,0 ,sizeof (*il)); il->type = type;switch (type) {
Signature · 43 lines
1.6.0.2.514.g23abd3 From 71f475740de9c7bca1e958f9a7c8936b7a4a471d Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 13 Oct 2008 16:48:39 +0200 Subject: [PATCH] add comments marking unchecked malloc calls * gfs/gfs_fsck/super.c: * gfs/libgfs/fs_dir.c: * gfs/libgfs/inode.c: * gfs/libgfs/super.c (ji_update): * gfs2/edit/hexedit.c (display_indirect): * gfs2/edit/savemeta.c (gfs1_rindex_read): * gfs2/fsck/initialize.c (init_system_inodes): * gfs2/libgfs2/super.c (rindex_read): * group/daemon/app.c: * group/daemon/cpg.c (deliver_cb): * group/daemon/joinleave.c (new_node): * group/daemon/main.c (do_get_groups, do_send): * group/dlm_controld/plock.c (unpack_section_buf): * group/gfs_controld/plock.c (unpack_section_buf): * src/daemons/clurmtabd_lib.c (rmtab_insert): * src/daemons/dtest.c (dtest_shell, main): --- gfs/gfs_fsck/fs_dir.c | 4 ++++ gfs/gfs_fsck/super.c | 3 +++ gfs/libgfs/fs_dir.c | 4 ++++ gfs/libgfs/inode.c | 1 + gfs/libgfs/super.c | 1 + gfs2/edit/hexedit.c | 1 + gfs2/edit/savemeta.c | 1 + gfs2/fsck/initialize.c | 1 + gfs2/libgfs2/super.c | 1 + group/daemon/app.c | 3 +++ group/daemon/cpg.c | 2 ++ group/daemon/joinleave.c | 1 + group/daemon/main.c | 2 ++ group/dlm_controld/plock.c | 2 ++ group/gfs_controld/plock.c | 2 ++ rgmanager/src/daemons/clurmtabd_lib.c | 1 + rgmanager/src/daemons/dtest.c | 2 ++ 17 files changed, 32 insertions(+), 0 deletions(-)
gfs/gfs_fsck/fs_dir.c +4 -0
@@ -549,6 +549,7 @@ static int dir_l_search(struct fsck_inode *dip, identifier_t *id, unsigned int *exit (1 ); } id->inum = (struct gfs_inum *)malloc (sizeof (struct gfs_inum )); +/* FIXME: don't dereference NULL on failed malloc */ memset (id->inum,0 ,sizeof (struct gfs_inum ));gfs_inum_in (id->inum, (char *)&dent->de_inum);
@@ -558,10 +559,12 @@ static int dir_l_search(struct fsck_inode *dip, identifier_t *id, unsigned int *exit (1 ); } id->filename = (osi_filename_t *)malloc (sizeof (osi_filename_t)); +/* FIXME: don't dereference NULL on failed malloc */ memset (id->filename,0 ,sizeof (osi_filename_t)); id->filename->len =gfs16_to_cpu (dent->de_name_len); id->filename->name =malloc (id->filename->len); +/* FIXME: don't dereference NULL on failed malloc */ memset (id->filename->name,0 , id->filename->len); memcpy(id->filename->name, (char *)dent+sizeof(struct gfs_dirent),
@@ -801,6 +804,7 @@ static int dir_split_leaf(struct fsck_inode *dip, uint32 index, uint64 leaf_no)This code is complicated enough already. */ lp = (uint64 *)malloc (half_len *sizeof (uint64)); +/* FIXME: don't dereference NULL on failed malloc */ memset (lp,0 , half_len *sizeof (uint64)); error = readi(dip, (char *)lp, start * sizeof(uint64),
gfs/gfs_fsck/super.c +3 -0
@@ -710,6 +710,7 @@ int gfs_rgindex_rebuild(struct fsck_sb *sdp, osi_list_t *ret_list,/* ------------------------------------------------------------- */ /* Allocate a new RG and index. */ calc_rgd = (struct fsck_rgrp *)malloc (sizeof (struct fsck_rgrp )); +/* FIXME: handle failed malloc */ memset (calc_rgd,0 ,sizeof (struct fsck_rgrp )); calc_rgd->rd_sbd = sdp;/* hopefully this is not used */ osi_list_add_prev (&calc_rgd->rd_list, ret_list);
@@ -975,6 +976,7 @@ int gfs_rgindex_calculate(struct fsck_sb *sdp, osi_list_t *ret_list, (rgs_per_subd -1 ) * (adjust_subdevice_size / rgs_per_subd); calc_rgd = (struct fsck_rgrp *)malloc (sizeof (struct fsck_rgrp )); +/* FIXME: handle failed malloc */ memset (calc_rgd,0 ,sizeof (struct fsck_rgrp )); calc_rgd->rd_sbd = sdp;/* hopefully this is not used */ osi_list_add_prev (&calc_rgd->rd_list, ret_list);
@@ -1117,6 +1119,7 @@ int ri_update(struct fsck_sb *sdp) } rgd = (struct fsck_rgrp *)malloc (sizeof (struct fsck_rgrp )); +/* FIXME: handle failed malloc */ memset (rgd,0 ,sizeof (struct fsck_rgrp )); rgd->rd_sbd = sdp;osi_list_add_prev (&rgd->rd_list, &sdp->rglist);
gfs/libgfs/fs_dir.c +4 -0
@@ -544,6 +544,7 @@ static int dir_l_search(int disk_fd, struct gfs_inode *dip, identifier_t *id,exit (1 ); } id->inum = (struct gfs_inum *)malloc (sizeof (struct gfs_inum )); +/* FIXME: handle failed malloc */ memset (id->inum,0 ,sizeof (struct gfs_inum ));gfs_inum_in (id->inum, (char *)&dent->de_inum);
@@ -553,10 +554,12 @@ static int dir_l_search(int disk_fd, struct gfs_inode *dip, identifier_t *id,exit (1 ); } id->filename = (osi_filename_t *)malloc (sizeof (osi_filename_t)); +/* FIXME: handle failed malloc */ memset (id->filename,0 ,sizeof (osi_filename_t)); id->filename->len =gfs16_to_cpu (dent->de_name_len); id->filename->name =malloc (id->filename->len); +/* FIXME: handle failed malloc */ memset (id->filename->name,0 , id->filename->len); memcpy(id->filename->name, (char *)dent+sizeof(struct gfs_dirent),
@@ -798,6 +801,7 @@ static int dir_split_leaf(int disk_fd, struct gfs_inode *dip, uint32 index,This code is complicated enough already. */ lp = (uint64 *)malloc (half_len *sizeof (uint64)); +/* FIXME: handle failed malloc */ memset (lp,0 , half_len *sizeof (uint64)); error = readi(disk_fd, dip, (char *)lp, start * sizeof(uint64),
gfs/libgfs/inode.c +1 -0
@@ -122,6 +122,7 @@ static int fs_get_istruct(int disk_fd, struct gfs_sbd *sdp, } ip = (struct gfs_inode *)malloc (sizeof (struct gfs_inode )); +/* FIXME: handle failed malloc */ ip->i_num = *inum; ip->i_sbd = sdp;
gfs/libgfs/super.c +1 -0
@@ -344,6 +344,7 @@ int ri_update(int disk_fd, struct gfs_sbd *sdp) goto fail; } rgd = (struct gfs_rgrpd *)malloc (sizeof (struct gfs_rgrpd )); +/* FIXME: handle failed malloc */ rgd->rd_sbd = sdp;osi_list_add_prev ((osi_list_t *)&rgd->rd_list, (osi_list_t *)&sdp->sd_rglist);
gfs2/edit/hexedit.c +1 -0
@@ -1259,6 +1259,7 @@ int display_indirect(struct iinfo *ind, int indblocks, int level, uint64_t startchar *tmpbuf; more_indir =malloc (sizeof (struct iinfo )); +/* FIXME: handle failed malloc */ tmpbuf =malloc (sbd.bsize);if (tmpbuf) { do_lseek(sbd.device_fd,
gfs2/edit/savemeta.c +1 -0
@@ -292,6 +292,7 @@ int gfs1_rindex_read(struct gfs2_sbd *sdp, int fd, int *count1)return -1 ; rgd = (struct rgrp_list *)malloc (sizeof (struct rgrp_list )); +/* FIXME: handle failed malloc */ memset (rgd,0 ,sizeof (struct rgrp_list ));osi_list_add_prev (&rgd->list, &sdp->rglist);
gfs2/fsck/initialize.c +1 -0
@@ -212,6 +212,7 @@ static int init_system_inodes(struct gfs2_sbd *sdp)gfs2_lookupi (sdp->master_dir,"statfs" ,6 , &sdp->md.statfs); buf =malloc (sdp->md.statfs->i_di.di_size); +/* FIXME: handle failed malloc */ gfs2_readi (sdp->md.statfs, buf,0 , sdp->md.statfs->i_di.di_size);/* call gfs2_inum_range_in() to retrieve range */ gfs2_statfs_change_in (&sc, buf);
gfs2/libgfs2/super.c +1 -0
@@ -184,6 +184,7 @@ int rindex_read(struct gfs2_sbd *sdp, int fd, int *count1)return -1 ; rgd = (struct rgrp_list *)malloc (sizeof (struct rgrp_list )); +/* FIXME: handle failed malloc */ memset (rgd,0 ,sizeof (struct rgrp_list ));osi_list_add_prev (&rgd->list, &sdp->rglist);
group/daemon/app.c +3 -0
@@ -178,6 +178,7 @@ void extend_recover_event(group_t *g, event_t *ev, int nodeid) } id =malloc (sizeof (struct nodeid )); +/* FIXME: handle failed malloc */ id->nodeid = new_id_nodeid;list_add (&id->list, &ev->extended); }
@@ -274,6 +275,7 @@ struct recovery_set *add_recovery_set_cpg(int nodeid, int procdown)if (node->nodeid == nodeid) {log_group (g,"add to recovery set %d" , nodeid); re =malloc (sizeof (*re)); +/* FIXME: handle failed malloc */ memset (re,0 ,sizeof (struct recovery_entry )); re->group = g;list_add_tail (&re->list, &rs->entries);
@@ -1534,6 +1536,7 @@ int recover_current_event(group_t *g) } id =malloc (sizeof (struct nodeid )); +/* FIXME: handle failed malloc */ id->nodeid = rev->nodeid;list_add (&id->list, &ev->extended); log_group(g, "extend active rev %d with failed node %d",
group/daemon/cpg.c +2 -0
@@ -648,12 +648,14 @@ void deliver_cb(cpg_handle_t handle, struct cpg_name *group_name, msg_type(msg->ms_type), nodeid); save =malloc (sizeof (struct save_msg )); +/* FIXME: handle failed malloc */ memset (save,0 ,sizeof (struct save_msg )); save->nodeid = nodeid; save->msg_len = data_len;if (data_len >sizeof (msg_t)) { buf =malloc (data_len); +/* FIXME: handle failed malloc */ memcpy (buf, data, data_len); save->msg_long = buf;memcpy (&save->msg, data,sizeof (msg_t));
group/daemon/joinleave.c +1 -0
@@ -157,6 +157,7 @@ node_t *new_node(int nodeid)node_t *node; node =malloc (sizeof (*node)); +/* FIXME: handle failed malloc */ memset (node,0 ,sizeof (*node)); node->nodeid = nodeid;return node;
group/daemon/main.c +2 -0
@@ -485,6 +485,7 @@ static int do_get_groups(int ci, int argc, char **argv)int rv, count =0 , max =atoi (argv[1 ]); data =malloc (sizeof (group_data_t)); +/* FIXME: handle failed malloc */ count =0 ;list_for_each_entry (g, &gd_groups, list) {
@@ -588,6 +589,7 @@ static void do_send(char *name, int level, int len, char *data) total =sizeof (msg_t) + len; buf =malloc (total); +/* FIXME: handle failed malloc */ memset (buf,0 , total);memcpy (buf +sizeof (msg_t), data, len);
group/dlm_controld/plock.c +2 -0
@@ -1618,6 +1618,7 @@ static int unpack_section_buf(struct lockspace *ls, char *numbuf, int buflen)for (i =0 ; i < count; i++) {if (!pp->waiter) { po =malloc (sizeof (struct posix_lock )); +/* FIXME: handle failed malloc */ po->start =le64_to_cpu (pp->start); po->end =le64_to_cpu (pp->end); po->owner =le64_to_cpu (pp->owner);
@@ -1627,6 +1628,7 @@ static int unpack_section_buf(struct lockspace *ls, char *numbuf, int buflen)list_add_tail (&po->list, &r->locks); }else { w =malloc (sizeof (struct lock_waiter )); +/* FIXME: handle failed malloc */ w->info.start =le64_to_cpu (pp->start); w->info.end =le64_to_cpu (pp->end); w->info.owner =le64_to_cpu (pp->owner);
group/gfs_controld/plock.c +2 -0
@@ -1836,6 +1836,7 @@ static int unpack_section_buf(struct mountgroup *mg, char *numbuf, int buflen)for (i =0 ; i < count; i++) {if (!pp->waiter) { po =malloc (sizeof (struct posix_lock )); +/* FIXME: handle failed malloc */ po->start =le64_to_cpu (pp->start); po->end =le64_to_cpu (pp->end); po->owner =le64_to_cpu (pp->owner);
@@ -1845,6 +1846,7 @@ static int unpack_section_buf(struct mountgroup *mg, char *numbuf, int buflen)list_add_tail (&po->list, &r->locks); }else { w =malloc (sizeof (struct lock_waiter )); +/* FIXME: handle failed malloc */ w->info.start =le64_to_cpu (pp->start); w->info.end =le64_to_cpu (pp->end); w->info.owner =le64_to_cpu (pp->owner);
rgmanager/src/daemons/clurmtabd_lib.c +1 -0
@@ -204,6 +204,7 @@ rmtab_insert(rmtab_node **head, rmtab_node *pre, char *host,/* Copy in info */ rnew =malloc (sizeof (*rnew)); +/* FIXME: handle failed malloc */ memset (rnew,0 ,sizeof (*rnew)); rnew->rn_hostname =strdup (host); rnew->rn_path =strdup (path);
rgmanager/src/daemons/dtest.c +2 -0
@@ -274,6 +274,7 @@ dtest_shell(void)dep_op_t *ops =NULL , *op; nodes =malloc (sizeof (int )*nodes_all_count); +/* FIXME: handle failed malloc */ while (!done) {
@@ -325,6 +326,7 @@ dtest_shell(void)free (nodes_online); nodes_online =malloc (sizeof (int ) * cnt); +/* FIXME: handle failed malloc */ for (x =0 ; x < cnt; x++) nodes_online[x] = nodes[x];
Signature · 12 lines
1.6.0.2.514.g23abd3 From 13ac364cc61333595c18a518f5140498e022a697 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 13 Oct 2008 17:21:54 +0200 Subject: [PATCH] Remove unused local variable, buf, * gfs2/edit/savemeta.c (save_inode_data): ...along with malloc and free. --- gfs2/edit/savemeta.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)
gfs2/edit/savemeta.c +0 -3
@@ -583,11 +583,9 @@ void save_inode_data(int out_fd)osi_list_t *prev_list, *cur_list, *tmp;struct gfs2_buffer_head *metabh, *mybh;int i; -char *buf;for (i =0 ; i <GFS2_MAX_META_HEIGHT ; i++)osi_list_init (&metalist[i]); - buf =malloc (sbd.bsize); metabh =bread (&sbd, block); inode =inode_get (&sbd, metabh); height = inode->i_di.di_height;
@@ -662,7 +660,6 @@ void save_inode_data(int out_fd)brelse (metabh, not_updated); }inode_put (inode, not_updated); -free (buf); }void get_journal_inode_blocks (void )
Signature · 12 lines
1.6.0.2.514.g23abd3 From 4816b957b4cfc9b478522adfba238cb2a3c45404 Mon Sep 17 00:00:00 2001 From: Jim Meyering <[email protected]> Date: Mon, 13 Oct 2008 18:12:14 +0200 Subject: [PATCH] add comments marking unchecked strdup calls * config/tools/ccs_tool/editconf.c (add_fence_args): --- config/tools/ccs_tool/editconf.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
config/tools/ccs_tool/editconf.c +1 -0
@@ -447,6 +447,7 @@ static void add_fence_args(xmlNode *fencenode, int argc, char **argv, int optindchar *equals; prop =strdup (argv[i]); +/* FIXME: handle failed strdup */ equals =strchr (prop,'=' );if (!equals)die ("option '%s' is not opt=value pair\n" , prop);
Signature · 1 line
1.6.0.2.514.g23abd3
Fabio M. Di Nitto
AppliedQuoted 11 lines · Jim Meyering
Here's a series of patches to fix or mark-with-comment uses of malloc where a failure can lead to NULL dereference. I started off fixing them, but there were pretty many, so after a while I merely marked them.
Note I've marked a use of strdup, too. While I went through the entire list of uses of malloc, I haven't done the same for strdup. That was just the first one I spotted.
Jim
Merged into master branch. I had some issues to get them in the tree so the SHA1 are different from your original posting but it's all there.
Thanks
Fabio
--
I'm going to make him an offer he can't refuse.
Quoted 3 lines · Fabio M. Di Nitto
Merged into master branch. I had some issues to get them in the tree so the SHA1 are different from your original posting but it's all there.
Thanks, Fabio.
Here's a tiny adjustment:
From 01c30afac0bf97d84df11cc32773304a99613a08 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Mon, 13 Oct 2008 15:22:55 +0200
Subject: [PATCH] adjust a diagnostic
* group/dlm_controld/deadlock.c (add_waitfor): Tweak diagnostic.
--- group/dlm_controld/deadlock.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
group/dlm_controld/deadlock.c +1 -1
@@ -1340,7 +1340,7 @@ static void add_waitfor(struct lockspace *ls, struct dlm_lkb *waiting_lkb, new_waitfor =realloc (tr->waitfor, tr->waitfor_alloc *sizeof (*tr->waitfor));if (new_waitfor ==NULL ) { -log_group (ls,"failed to allocate ..." ); +log_group (ls,"failed to allocate internal buffer" );free (tr->waitfor);return ; }
--
1.6.0.2.588.g3102
Fabio M. Di Nitto
AppliedApplied.. thanks!
Fabio
Quoted 32 lines · Jim Meyering
Quoted 3 lines · Fabio M. Di Nitto
Merged into master branch. I had some issues to get them in the tree so the SHA1 are different from your original posting but it's all there.
Thanks, Fabio.
Here's a tiny adjustment:Quoted 1 line
From
01c30afac0bf97d84df11cc32773304a99613a08Mon Sep 17 00:00:00 2001From: Jim Meyering <[email protected]>
Date: Mon, 13 Oct 2008 15:22:55 +0200
Subject: [PATCH] adjust a diagnostic*
group/dlm_controld/deadlock.c(add_waitfor): Tweak diagnostic.
---group/dlm_controld/deadlock.c| 2 +-1 files changed, 1 insertions(+), 1 deletions(-)group/dlm_controld/deadlock.c +1
-2@@ -1340,7 +1340,7 @@ static void add_waitfor(struct lockspace *ls, struct dlm_lkb *waiting_lkb, new_waitfor =realloc (tr->waitfor, tr->waitfor_alloc *sizeof (*tr->waitfor));if (new_waitfor ==NULL ) { -log_group (ls,"failed to allocate ..." ); +log_group (ls,"failed to allocate internal buffer" );free (tr->waitfor);return ; } --
Quoted 2 lines
1.6.0.2.588.g3102
--
I'm going to make him an offer he can't refuse.