Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 May 2012 15:40:25 +0200 (CEST)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/167484: [maintainer update] update devel/py-pefile to version 1.2.10-114
Message-ID:  <201205011340.q41DePPl011726@peanut.dreadbsd.org>
Resent-Message-ID: <201205011350.q41DoAwl093027@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         167484
>Category:       ports
>Synopsis:       [maintainer update] update devel/py-pefile to version 1.2.10-114
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 01 13:50:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Antoine Brodin
>Release:        FreeBSD 10.0-CURRENT i386
>Organization:
none
>Environment:
System: FreeBSD barton.dreadbsd.org. 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Feb 11 18:22:15 CET 2012 root@barton.dreadbsd.org.:/usr/obj/usr/src/sys/MYGENERIC i386


>Description:

Changelog:

Version: 1.2.10-114
    Added sanity checks for invalid relocation information. VirtualAddress and SizeOfBlock are checked against a wide boundary that should never surpass (SizeOfImage)
    Merged the patch from  Issue 32  (and fixed some problems with it) regarding mmap files left open on Python 2.5.x 
Version: 1.2.10-111
    Fixed  Issue 10  and  Issue 29  (related) by also parsing strings for stringfileinfo_struct.Type=0 in addition of Type=1
    Fixed  Issue 26  as suggested by catching early parsing errors with a try in the PE constructor
    Fixed  Issue 30  parsing 64-bit PE32+ imports
    As pointed out by Pedram Amini removed a warning about WRITE and EXECUTE flags set for a section if the section name is 'PAGE' and the PE is a driver. In drivers such combination is legitimate
    10 and  Issue 29  to also handle the VarFileInfo structure 
Version: 1.2.10-107
    Fixed  Issue 27 
    Enhanced the processing of files with uncommon combinations of FileAligment and PointerToRawData values
    As suggested in  Issue 26  a close() method was added that closes the mmap of the file
    Added a check for zero-length files. A PEFormatError is now raised on those ( Issue 25 )
    Fixed a couple of small bugs in the parsing of resources
    The parsing of the resources' version strings had a small flaw where one character outside the range was not caught 
Version: 1.2.10-102
    Added a (high) hard-coded limit to the number of directory entries to process. Some specially crafted directories could lead to long processing times 
Version: 1.2.10-100
    Added additional check in the resources string parser to avoid some crashes
    Added Ange Albertini's patch to provide more helpful error messages when pefile meets NE/LE/LX files and ZM (as opposed to MZ) files. The PEFormatError() exception raised will inform about the type of file 
Version: 1.2.10-96
    Fixed  Issue 12 , there was a bug calculating the offset to the VS_VERSIONINFO structure that would manifest in some files
    Added a method to peutils to scan for PEiD signatures in user-provided raw data as opposed to only allowing pefile.PE() instances, it comes handy when feeding data from other tools like IDA
    Improved handling of cases of unorthodox, although valid, FileAlignment and SectionAlignment values and combinations of those. It turns out that they have to be in certain relation for some value ranges
    Fixed  Issue 24  

>How-To-Repeat:
>Fix:


--- py-pefile.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/py-pefile/Makefile,v
retrieving revision 1.15
diff -u -r1.15 Makefile
--- Makefile	5 Feb 2011 10:51:57 -0000	1.15
+++ Makefile	1 May 2012 13:24:13 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	pefile
-DISTVERSION=	1.2.10-93
+DISTVERSION=	1.2.10-114
 CATEGORIES=	devel python
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/devel/py-pefile/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- distinfo	5 Feb 2011 10:51:57 -0000	1.14
+++ distinfo	1 May 2012 13:24:33 -0000
@@ -1,2 +1,2 @@
-SHA256 (pefile-1.2.10-93.tar.gz) = a8a1b8b03ec2ce8c2ffcd916f3ae4f20586e273b959adbf72a24b5013b397e5a
-SIZE (pefile-1.2.10-93.tar.gz) = 47049
+SHA256 (pefile-1.2.10-114.tar.gz) = 290d13671a7ec2be0862489ce1eb58be0b6112cbd707516f8fb4f271836d758d
+SIZE (pefile-1.2.10-114.tar.gz) = 49128
--- py-pefile.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205011340.q41DePPl011726>