This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Path restrictions on thin archives
- From: Rafael EspÃndola <rafael dot espindola at gmail dot com>
- To: Binutils <binutils at sourceware dot org>
- Cc: Cary Coutant <ccoutant at gmail dot com>
- Date: Wed, 15 Jul 2015 10:34:42 -0700
- Subject: Path restrictions on thin archives
- Authentication-results: sourceware.org; auth=none
The manual page says:
For security reasons absolute paths and paths with a "/../" component
are not allowed.
But that is not the case:
$ ar rcDT foo.a /bin/../bin/bash
$ ar t foo.a
/bin/../bin/bash
that is probably fine since 'x' is not supported at all with thin
archives, so we probably just have to delete that statement from the
manual.
Cheers,
Rafael