From owner-freebsd-bugs Sat May 13 11:35:24 1995 Return-Path: bugs-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA08382 for bugs-outgoing; Sat, 13 May 1995 11:35:24 -0700 Received: from crh.cl.msu.edu (crh.cl.msu.edu [35.8.1.24]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id LAA08371 for ; Sat, 13 May 1995 11:35:22 -0700 Message-Id: <199505131835.LAA08371@freefall.cdrom.com> Received: by crh.cl.msu.edu (1.38.193.4/16.2) id AA12647; Sat, 13 May 1995 14:35:20 -0400 From: Charles Henrich Subject: login.c environ=envinit ? To: freebsd-bugs@FreeBSD.org Date: Sat, 13 May 1995 14:35:20 -0400 (EDT) X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 350 Sender: bugs-owner@FreeBSD.org Precedence: bulk Im looking at login.c ~line 400 where we reset the user environment if the p flag is passed, and we do this but just re-assigning the environment global. Shouldnt we free the environment memory before doing that? -Crh Charles Henrich Michigan State University henrich@crh.cl.msu.edu http://rs560.msu.edu/~henrich/