From: Eric Biggers Date: Fri, 17 Jan 2014 03:52:04 +0000 (-0600) Subject: do_wimlib_extract_image(): Do not allow GLOB_PATHS X-Git-Tag: v1.6.1~18 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=3aa503b139e90f22b144bcbd9575f799c1eb060c;hp=1e7a14f3350c850d7816fbda0e70e67272df3f44 do_wimlib_extract_image(): Do not allow GLOB_PATHS --- diff --git a/src/extract.c b/src/extract.c index 28ebc55d..8bbf3e7d 100644 --- a/src/extract.c +++ b/src/extract.c @@ -2853,7 +2853,8 @@ do_wimlib_extract_image(WIMStruct *wim, int ret; if (extract_flags & (WIMLIB_EXTRACT_FLAG_NO_PRESERVE_DIR_STRUCTURE | - WIMLIB_EXTRACT_FLAG_TO_STDOUT)) + WIMLIB_EXTRACT_FLAG_TO_STDOUT | + WIMLIB_EXTRACT_FLAG_GLOB_PATHS)) return WIMLIB_ERR_INVALID_PARAM; if (image == WIMLIB_ALL_IMAGES)