This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Path restrictions on thin archives


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]