From owner-cvs-src-old@FreeBSD.ORG Thu Jan 21 03:49:41 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44899106568F for ; Thu, 21 Jan 2010 03:49:41 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 197588FC1B for ; Thu, 21 Jan 2010 03:49:41 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o0L3neIZ069534 for ; Thu, 21 Jan 2010 03:49:40 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o0L3nefa069533 for cvs-src-old@freebsd.org; Thu, 21 Jan 2010 03:49:40 GMT (envelope-from nwhitehorn@repoman.freebsd.org) Message-Id: <201001210349.o0L3nefa069533@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to nwhitehorn@repoman.freebsd.org using -f From: Nathan Whitehorn Date: Thu, 21 Jan 2010 03:49:18 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.sbin/extattr rmextattr.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 03:49:41 -0000 nwhitehorn 2010-01-21 03:49:18 UTC FreeBSD src repository Modified files: usr.sbin/extattr rmextattr.c Log: SVN rev 202734 on 2010-01-21 03:49:18Z by nwhitehorn Fix a bug when printing attributes from multiple files: buflen could be longer than the length of the current attribute if the buffer were reused and previously longer, so bits of the previous, longer attribute would be written. Fix this by using the actual attribute length. Revision Changes Path 1.8 +1 -1 src/usr.sbin/extattr/rmextattr.c