From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 578EF1FF16F for ; Fri, 15 Nov 2024 10:43:27 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 53915FECF; Fri, 15 Nov 2024 10:43:28 +0100 (CET) Message-ID: <41efc325-3174-4b26-9a23-9dca1df258e4@proxmox.com> Date: Fri, 15 Nov 2024 10:42:51 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: Proxmox VE development discussion , =?UTF-8?Q?Fabian_Gr=C3=BCnbichler?= References: <20241104104221.228730-1-f.gruenbichler@proxmox.com> <20241104104221.228730-4-f.gruenbichler@proxmox.com> Content-Language: en-GB From: Fiona Ebner In-Reply-To: <20241104104221.228730-4-f.gruenbichler@proxmox.com> X-SPAM-LEVEL: Spam detection results: 0 AWL -0.055 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [qemu.pm] Subject: Re: [pve-devel] [PATCH v2 qemu-server 1/1] disk import: add additional safeguards for imported image files X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" T24gMDQuMTEuMjQgMTE6NDIgQU0sIEZhYmlhbiBHcsO8bmJpY2hsZXIgd3JvdGU6Cj4gY3JlYXRp bmcgbm9uLXJhdyBkaXNrIGltYWdlcyB3aXRoIGFyYml0cmFyeSBjb250ZW50IGlzIG9ubHkgcG9z c2libGUgd2l0aCByYXcKPiBhY2Nlc3MgdG8gdGhlIHN0b3JhZ2UsIGJ1dCBjaGVja2luZyBmb3Ig cmVmZXJlbmNlcyB0byBleHRlcm5hbCBmaWxlcyBkb2Vzbid0Cj4gaHVydC4KPiAKPiBTaWduZWQt b2ZmLWJ5OiBGYWJpYW4gR3LDvG5iaWNobGVyIDxmLmdydWVuYmljaGxlckBwcm94bW94LmNvbT4K PiAtLS0KPiAKPiBOb3RlczoKPiAgICAgcmVxdWlyZXMgcHZlLXN0b3JhZ2UgY2hhbmdlIHRvIGFj dHVhbGx5IGhhdmUgYW4gZWZmZWN0Cj4gICAgIAo+ICAgICB2MjoKPiAgICAgLSByZS1vcmRlciBj b2RlIHRvIGltcHJvdmUgcmVhZGFiaWxpdHkKPiAgICAgLSBleHRyYWN0ICRwYXRoIGludG8gdmFy aWFibGUgdG8gYXZvaWQgc2NhbGFyIHZzIGFycmF5IGNvbnRleHQgaXNzdWUKPiAKPiAgUFZFL0FQ STIvUWVtdS5wbSB8IDE4ICsrKysrKysrKysrKysrKy0tLQo+ICAxIGZpbGUgY2hhbmdlZCwgMTUg aW5zZXJ0aW9ucygrKSwgMyBkZWxldGl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