[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: some ftpd implementations mishandle CWD ~{
From: |
Gregory A Lundberg |
Subject: |
Re: some ftpd implementations mishandle CWD ~{ |
Date: |
Tue, 24 Apr 2001 22:48:25 -0400 |
User-agent: |
Mutt/1.2.5i |
Your patch to wu-ftpd looks fine. Setting a known-null pointer to NULL is
not needed, but otherwise I'll commit what you submitted.
If we free() a NULL pointer and that causes problems, that's not our
problem. The specification for free() specifically says "if ptr is a null
pointer, no action occurs." So the fact that a segmentation fault occurs
on Linux indicates a non-compliance in the GNU libc runtime. If that
non-compliance causes down-stream problems by overwriting random memory,
the best place to fix it is to bring free() into compliance.
--
Gregory A Lundberg WU-FTPD Development Group
1441 Elmdale Drive address@hidden
Kettering, OH 45409-1615 USA 1-800-809-2195
- Re: some ftpd implementations mishandle CWD ~{,
Gregory A Lundberg <=