Date: Fri, 28 Apr 2000 08:31:30 -0700 (PDT) From: Guy Helmer <ghelmer@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/cron/lib env.c Message-ID: <200004281531.IAA14106@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ghelmer 2000/04/28 08:31:29 PDT
Modified files:
usr.sbin/cron/lib env.c
Log:
Fix a situation where a pointer which should point to dynamically
allocated memory was instead pointed to a static string. A later
free() on the value of the pointer was a possible source of reported
"warning: pointer to wrong page" messages from cron.
Use consistent types in sizeof when malloc'ing memory for the
environment.
PR: kern/12248, bin/11169, bin/9722
Revision Changes Path
1.8 +9 -4 src/usr.sbin/cron/lib/env.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?200004281531.IAA14106>
