From owner-cvs-all@FreeBSD.ORG Wed Jun 16 17:53:04 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73CB916A4CE; Wed, 16 Jun 2004 17:53:04 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E00E43D31; Wed, 16 Jun 2004 17:53:04 +0000 (GMT) (envelope-from clive@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5GHqaNp092495; Wed, 16 Jun 2004 17:52:36 GMT (envelope-from clive@repoman.freebsd.org) Received: (from clive@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5GHqab8092494; Wed, 16 Jun 2004 17:52:36 GMT (envelope-from clive) Message-Id: <200406161752.i5GHqab8092494@repoman.freebsd.org> From: Clive Lin Date: Wed, 16 Jun 2004 17:52:36 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/chinese/mutt Makefile distinfo X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jun 2004 17:53:04 -0000 clive 2004-06-16 17:52:36 UTC FreeBSD ports repository Modified files: chinese/mutt Makefile distinfo Log: + Updated patchset: + Avoid misuse of safe_strdup shipped with mutt. + It returns 0 (NULL pointer) instead of pointer to 0 (empty string) if the source string is empty(""). Consequently iconv_open will cause mutt to core-dumps itself. It expects const char* instead of NULL pointer. + On each successful call to wraped iconv_open provided by the patchset, small piece of memory is allocated by safe_strdup. The original patchset did not free it. Above submitted by: Kuang-che Wu + Experimental abuse of PORTREVISION. More testing is in progress. It will be really activated via master port if there's nothing else broken. Revision Changes Path 1.35 +5 -1 ports/chinese/mutt/Makefile 1.31 +2 -2 ports/chinese/mutt/distinfo