From owner-cvs-all@FreeBSD.ORG Sat Sep 8 08:20:13 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57D5816A418; Sat, 8 Sep 2007 08:20:13 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 36A7913C468; Sat, 8 Sep 2007 08:20:13 +0000 (UTC) (envelope-from jkoshy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l888KCUd088878; Sat, 8 Sep 2007 08:20:12 GMT (envelope-from jkoshy@repoman.freebsd.org) Received: (from jkoshy@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l888KCEr088877; Sat, 8 Sep 2007 08:20:12 GMT (envelope-from jkoshy) Message-Id: <200709080820.l888KCEr088877@repoman.freebsd.org> From: Joseph Koshy Date: Sat, 8 Sep 2007 08:20:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libelf elf_update.3 elf_update.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 08 Sep 2007 08:20:13 -0000 jkoshy 2007-09-08 08:20:12 UTC FreeBSD src repository Modified files: lib/libelf elf_update.3 elf_update.c Log: Fix a bug that prevented applications from laying out ELF objects with section header tables residing in between other sections. Introduce additional checks for overlaps between section data and the section header table when the application is performing section layout. Document additional error returns. Reported by: Kai Wang Approved by: re (rwatson) Revision Changes Path 1.4 +7 -2 src/lib/libelf/elf_update.3 1.3 +44 -17 src/lib/libelf/elf_update.c