From patchwork Thu Apr 1 21:01:48 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Connor Kuehl X-Patchwork-Id: 12179545 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7BE20C433B4 for ; Thu, 1 Apr 2021 21:03:19 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F0FD1601FA for ; Thu, 1 Apr 2021 21:03:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F0FD1601FA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:37988 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS4TG-0008Bq-4m for qemu-devel@archiver.kernel.org; Thu, 01 Apr 2021 17:03:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS4Rx-0007DS-OH for qemu-devel@nongnu.org; Thu, 01 Apr 2021 17:01:57 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:41776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS4Rw-0003BR-68 for qemu-devel@nongnu.org; Thu, 01 Apr 2021 17:01:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617310915; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sgZU3tVTtf+Y5PYDl339f9IHAEXK8K6n4PzvkNbHKOs=; b=RxUj1s1nWgWT10a7RqSQ1PqsKtAfoJd2i+4iiYydK70CdXELTNcvkSPeKnAqUBMgx1sps0 ysJBrXY/T1sGsKNcHrLXqQAmGldXphJs5MF/sTBrwp3k3B6wu5I8fXgKIdgfYJFoXxv7L8 X/fEyDgg2Yq1DAlPQfwRU9Q3DMtcwdQ= Received: from mail-oi1-f199.google.com (mail-oi1-f199.google.com [209.85.167.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-337-ZsyXHV7yM-K1rT--KkSoqA-1; Thu, 01 Apr 2021 17:01:53 -0400 X-MC-Unique: ZsyXHV7yM-K1rT--KkSoqA-1 Received: by mail-oi1-f199.google.com with SMTP id o125so2654873oif.0 for ; Thu, 01 Apr 2021 14:01:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=sgZU3tVTtf+Y5PYDl339f9IHAEXK8K6n4PzvkNbHKOs=; b=pFyRRfacXU37j2/Awf85KcqblNvzRXR/uMY7mvDNaJ16sVUErLLiVpSGIBmcYDErfO yVraxg1xPcq4gRefaxFrMyFBBY75GLkcNmk75P5cveFQyEstOfDwRvbUQlG0+ANvQ6RI h2seM17UkZeqnX8CDOaMrSIEXzTeKvPMoFNEfE7BJwG6p+ERAsJpF7e3AKhPDF9K1KTg oKTzJwm9iXnkCeinDLb3GL45qMs/h4wAKpzrPFkkn62ykt15roLk83IonJq5Tshl05Ez 9WT9KIHRQRwY3XO2Z8mhbVuEZmChRKr1D3b53D7z180e/UtwkoUa0tmmsGwEtgQQqsmk fJ9A== X-Gm-Message-State: AOAM53093PoI5QujtgU0fP8ekE4+27tvq/Y2fJ8vyrU+vJHAl2KuqCNC UAonF5aK+hbGKksZw7mmTe5KhriHAYdHWeSZRKGAjrUzvrJ7wE/LuwJFrMWoCdlxkWNiM4hTsNO gwj53tFtLFhcB2lA= X-Received: by 2002:a9d:6a14:: with SMTP id g20mr8401238otn.205.1617310912426; Thu, 01 Apr 2021 14:01:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvLQf6w/BbbPDE+PyTABYbsycKqU/GuJHUfjlYNkQLf3ReqrIIsQQkwGJB2hSytI/eKsIQeA== X-Received: by 2002:a9d:6a14:: with SMTP id g20mr8401226otn.205.1617310912237; Thu, 01 Apr 2021 14:01:52 -0700 (PDT) Received: from redhat.redhat.com (ip68-103-222-6.ks.ok.cox.net. [68.103.222.6]) by smtp.gmail.com with ESMTPSA id g2sm1377891otn.32.2021.04.01.14.01.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Apr 2021 14:01:51 -0700 (PDT) From: Connor Kuehl To: qemu-block@nongnu.org Subject: [PATCH v2 0/2] Fix segfault in qemu_rbd_parse_filename Date: Thu, 1 Apr 2021 16:01:48 -0500 Message-Id: <20210401210150.2127670-1-ckuehl@redhat.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=ckuehl@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Received-SPF: pass client-ip=216.205.24.124; envelope-from=ckuehl@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, dillaman@redhat.com, qemu-devel@nongnu.org, mreitz@redhat.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Replaced the change to qemu_rbd_next_tok with a standalone escape-aware helper for patch 2. Connor Kuehl (2): iotests/231: Update expected deprecation message block/rbd: Add an escape-aware strchr helper block/rbd.c | 20 ++++++++++++++++++-- tests/qemu-iotests/231 | 4 ++++ tests/qemu-iotests/231.out | 7 ++++--- 3 files changed, 26 insertions(+), 5 deletions(-)