From 9d762a7a9ff59452255b80c0e37b098b0165a760 Mon Sep 17 00:00:00 2001 From: Steven Morgan Date: Wed, 4 Dec 2013 09:57:05 -0500 Subject: [PATCH] fix incorrect goto label --- libclamav/xar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclamav/xar.c b/libclamav/xar.c index 9358e1787..3bcf29575 100644 --- a/libclamav/xar.c +++ b/libclamav/xar.c @@ -521,7 +521,7 @@ int cli_scanxar(cli_ctx *ctx) rc = xar_scan_subdocuments(reader, ctx); if (rc != CL_SUCCESS) { cli_errmsg("xar_scan_subdocuments returns %i.\n", rc); - goto exit_toc; + goto exit_reader; } /* Walk the TOC XML and extract files */