From owner-cvs-all Fri Apr 28 8:31:35 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id B385537B801; Fri, 28 Apr 2000 08:31:30 -0700 (PDT) (envelope-from ghelmer@FreeBSD.org) Received: (from ghelmer@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA14106; Fri, 28 Apr 2000 08:31:30 -0700 (PDT) (envelope-from ghelmer@FreeBSD.org) Message-Id: <200004281531.IAA14106@freefall.freebsd.org> From: Guy Helmer Date: Fri, 28 Apr 2000 08:31:30 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/cron/lib env.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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