Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 1996 00:28:52 -0800 (PST)
From:      "Andrey A. Chernov" <ache>
To:        CVS-committers, cvs-all, cvs-lib
Subject:   cvs commit:  src/lib/libkvm kvm.c
Message-ID:  <199611110828.AAA29088@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        96/11/11 00:28:51

  Modified:    lib/libkvm  kvm.c
  Log:
  kvm_malloc:
  When malloc fails. don't try to memset NULL pointer, it cause core dump
  Replace malloc+memset with calloc, theoretically it can do some
  optimization of zeroing process internally
  Improve error diagnostic
  
  Revision  Changes    Path
  1.8       +3 -3      src/lib/libkvm/kvm.c



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