Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B39AAEE0210 for ; Wed, 13 Sep 2023 22:11:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ozlabs.org; s=201707; t=1694643086; bh=ua4m9TKUideDxIDrPoqZ00Kb+iGg2luSneYjcSm4H4A=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=jRP3cJqTtTpIYtKU0QB0WW1Q9PK/CbvqdkvrHhSxkDoCKiF/ABtgjjwA8VGGLsWsf 6NhvmkU0CzGFxLqrQUXAllNdsZQiXtHyk4IVPo9UdBlRx/IAv4Gc8dsXMuGDwWp9/2 it55f3DwdVLFMHEHWv79CR6T9DgfYRSklnfe9KNaur34scQ0c0A+CCT5qGe3McDX9S Fr7K0+bb+/kazoTRt1NaNlvwlneuRv2eXtwBAzwhfohUefbMvLkCMBtl9RtjjAWUVZ iN5NQgmpMzF8wdIb3kK4IrPJua5AmkF3seK9is24H2VgItz/y789Jhbk7A1KkO5U1Q 5xvM/d//mfsPw== Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4RmF6624B0z3cD1 for ; Thu, 14 Sep 2023 08:11:26 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20230601 header.b=GnvjUD0b; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=flex--dhavale.bounces.google.com (client-ip=2607:f8b0:4864:20::54a; helo=mail-pg1-x54a.google.com; envelope-from=3htmczqckcyqdhavalegoogle.comlinux-erofslists.ozlabs.org@flex--dhavale.bounces.google.com; receiver=lists.ozlabs.org) Received: from mail-pg1-x54a.google.com (mail-pg1-x54a.google.com [IPv6:2607:f8b0:4864:20::54a]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4RmF616n4lz2xdT for ; Thu, 14 Sep 2023 08:11:20 +1000 (AEST) Received: by mail-pg1-x54a.google.com with SMTP id 41be03b00d2f7-577c25cda99so174316a12.3 for ; Wed, 13 Sep 2023 15:11:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694643078; x=1695247878; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ua4m9TKUideDxIDrPoqZ00Kb+iGg2luSneYjcSm4H4A=; b=Xpuz1d3ws2w05bW/IJ3ridc9SYt1fYVSgQtVgNG4nSWPWGxwT5oW60yLc3rn9Gs+UW ZWNHRm8dKko3VPB+HJFQkPC+PdFtR46wXO2HYdS5TiwQaimwC0aB8hmkmXTihjwv40qQ 1uNmwj7iTxn6tlhGfcJqmuqpA5RTAW5yoVDPOIgU5yDj/9ZicnOCJ4mlUYOfk8q90WTt Ilq3msKhJf7Vuv/cTOrwnfJe1gD/W6LNfzOUd7SSWsn1wmuDa6dts3rm8qncSMBWAuNs qxFreSmTAFJreVpkAXccYuBoc3gsLb/eGKyFoRuI/5XxEGJfFeIF03EEJNfOu4bNeuLb vyYA== X-Gm-Message-State: AOJu0YwHOEo1sj8RlYgg3BOInE7WnQEvgLCvKk7UOl8b/3w3s6hnAesl oVNPWeuT7VDZUQWL/Mu6jxu6bDwLL1Fs92zpNPwz9x6SHweoLQ8IikR0qFLMJwJezMeG+zi/qO3 /BoMwViyI70ODjhVYhNlQGDSIdZ3Hg+ybVV6X1f8CqNB1tx3oXGaSEwJCTarTvuimL4ttlPj7 X-Google-Smtp-Source: AGHT+IELzv9ozr6EzSKiM8QLJC35TO41AhzSSLArHn1n/DvOWEXTbfRD8jDOpy4STGbbT+ytN5b/29DrpkYI X-Received: from dhavale-ctop.c.googlers.com ([fda3:e722:ac3:cc00:24:72f4:c0a8:5e39]) (user=dhavale job=sendgmr) by 2002:a63:3d4c:0:b0:56a:36ac:3238 with SMTP id k73-20020a633d4c000000b0056a36ac3238mr97372pga.5.1694643077666; Wed, 13 Sep 2023 15:11:17 -0700 (PDT) Date: Wed, 13 Sep 2023 15:10:57 -0700 Mime-Version: 1.0 X-Mailer: git-send-email 2.42.0.283.g2d96d420d3-goog Message-ID: <20230913221104.429825-1-dhavale@google.com> Subject: [PATCH v1 0/7] Misc fixes in erofs-utils To: linux-erofs@lists.ozlabs.org, hsiangkao@linux.alibaba.com Content-Type: text/plain; charset="UTF-8" X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Sandeep Dhavale via Linux-erofs Reply-To: Sandeep Dhavale Cc: kernel-team@android.com Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" Hi, Below series contains few small misc fixes found after running through clang static checker. Sandeep Dhavale (7): erofs-utils: fsck: Fix potential memory leak in error path erofs-utils: lib: Remove redundant line to get padding erofs-utils: lib: Fix memory leak if __erofs_battach() fails erofs-utils: lib: Check for error from z_erofs_pack_file_from_fd() erofs-utils: lib: Fix the memory leak in error path erofs-utils: lib: Remove redundant assignment erofs-utils: lib: tar: Initialize the variable to avoid using garbage value fsck/main.c | 4 +++- lib/blobchunk.c | 1 - lib/cache.c | 4 +++- lib/compress.c | 2 ++ lib/decompress.c | 4 +++- lib/namei.c | 1 - lib/tar.c | 2 +- 7 files changed, 12 insertions(+), 6 deletions(-) -- 2.42.0.283.g2d96d420d3-goog