Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2002 22:02:00 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern link_elf.c
Message-ID:  <200210190502.g9J521WL017245@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2002/10/18 22:01:59 PDT

  Modified files:
    sys/kern             link_elf.c 
  Log:
  In link_elf_load_file(), when SPARSE_MAPPING is defined and we
  cannot allocate ef->object, we freed ef before bailing out with
  an error. This is wrong because ef=lf and when we have an error
  and lf is non-NULL (which holds if we try to alloc ef->object),
  we free lf and thus ef as part of the bailing-out.
  
  Revision  Changes    Path
  1.64      +0 -1      src/sys/kern/link_elf.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210190502.g9J521WL017245>