1234567891011121314151617 |
- $OpenBSD: patch-src_global_c,v 1.1 2015/03/31 15:36:52 naddy Exp $
- CVE-2015-1197: cpio directory traversal
- --- src/global.c.orig Fri Feb 12 11:19:23 2010
- +++ src/global.c Sun Mar 29 21:11:10 2015
- @@ -187,6 +187,9 @@ bool to_stdout_option = false;
- /* The name this program was run with. */
- char *program_name;
-
- +/* Extract files over symbolic links */
- +bool extract_over_symlinks;
- +
- /* A pointer to either lstat or stat, depending on whether
- dereferencing of symlinks is done for input files. */
- int (*xstat) ();
|