|
From: | Stefan |
Subject: | Re: $USERPROFILE for $HOME on W32 |
Date: | Thu, 25 Nov 2004 12:45:48 -0500 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) |
>> + /* Set dir and shell from environment variables. */ >> + strcpy (the_passwd.pw_dir, getenv ("HOME")); > What if strlen (getenv ("HOME")) >= sizeof (the_passwd.pw_dir)? Well, tough! This code is not new: it's just moved from one place to another so it's not a new problem. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |