This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. dd9b91de2149ee81d47f708e7b0bbf57da10ad42
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 6 Nov 2014 14:50:06 -0000
- Subject: gdb and binutils branch master updated. dd9b91de2149ee81d47f708e7b0bbf57da10ad42
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via dd9b91de2149ee81d47f708e7b0bbf57da10ad42 (commit)
from 834107255bbefceb445fa733ebc1ea5d9f41ec7f (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dd9b91de2149ee81d47f708e7b0bbf57da10ad42
commit dd9b91de2149ee81d47f708e7b0bbf57da10ad42
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Nov 6 14:49:10 2014 +0000
Prevent archive memebers with illegal pathnames from being extracted from an archive.
PR binutils/17552, binutils/17533
* bucomm.c (is_valid_archive_path): New function. Returns false
for absolute pathnames and pathnames that include /../.
* bucomm.h (is_valid_archive_path): Add prototype.
* ar.c (extract_file): Use new function to check for valid
pathnames when extracting files from an archive.
* objcopy.c (copy_archive): Likewise.
* doc/binutils.texi: Update documentation to mention the
limitation on pathname of archive members.
-----------------------------------------------------------------------
Summary of changes:
binutils/ChangeLog | 16 ++++++++++++++--
binutils/ar.c | 9 +++++++++
binutils/bucomm.c | 26 ++++++++++++++++++++++++++
binutils/bucomm.h | 12 ++++++++----
binutils/doc/binutils.texi | 3 ++-
binutils/objcopy.c | 6 ++++++
6 files changed, 65 insertions(+), 7 deletions(-)
hooks/post-receive
--
gdb and binutils