From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.groups.io with SMTP id smtpd.web11.15139.1609774977826856510 for ; Mon, 04 Jan 2021 07:42:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=CVSgp2jc; spf=pass (domain: redhat.com, ip: 63.128.21.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609774977; 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: in-reply-to:in-reply-to:references:references; bh=1gZ9DgDJ2MlZOY2In+c3uIiYDf27UWilmgIHO1rGAlo=; b=CVSgp2jc4afvYy9d45W6CgS7AJWPPnYQBF4F+n30uiyFBixjW80mMO02Cyvy8x2r51U/z9 KY/2WZzmcNQvFASCBNWrgjFj9c+QiwToifaLDVWiDx33j5gbHN5ocsIXCXqw6qLLX3JUh6 DWPX/aWgKb+gxzKySRTLQl4wCZ86svU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-470-Gw_WbxQlOeWgPSF39YVq8Q-1; Mon, 04 Jan 2021 10:42:55 -0500 X-MC-Unique: Gw_WbxQlOeWgPSF39YVq8Q-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D72D410054FF; Mon, 4 Jan 2021 15:42:53 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-113-80.ams2.redhat.com [10.36.113.80]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8FBDE10016FE; Mon, 4 Jan 2021 15:42:51 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Anthony Perard , Ard Biesheuvel , Jordan Justen , Julien Grall , Leif Lindholm , Peter Grehan , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Rebecca Cran , Sami Mujawar Subject: [PATCH 7/8] OvmfPkg: disable list length checks in NOOPT and DEBUG builds Date: Mon, 4 Jan 2021 16:42:34 +0100 Message-Id: <20210104154235.31785-8-lersek@redhat.com> In-Reply-To: <20210104154235.31785-1-lersek@redhat.com> References: <20210104154235.31785-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 SW4gTk9PUFQgYW5kIERFQlVHIGJ1aWxkcywgaWYgIlBjZE1heGltdW1MaW5rZWRMaXN0TGVuZ3Ro IiBpcyBub256ZXJvLAp0aGVuIHNldmVyYWwgTElTVF9FTlRSWSAqbm9kZSogQVBJcyBpbiBCYXNl TGliIGNvbXBhcmUgdGhlICpmdWxsKiBsaXN0Cmxlbmd0aCBhZ2FpbnN0IHRoZSBQQ0QuCgpUaGlz IHR1cm5zIHRoZSB0aW1lIGNvbXBsZXhpdHkgb2Ygbm9kZS1sZXZlbCBBUElzIGZyb20gY29uc3Rh bnQgdG8gbGluZWFyLAphbmQgdGhhdCBvZiBmdWxsLWxpc3QgbWFuaXB1bGF0aW9ucyBmcm9tIGxp bmVhciB0byBxdWFkcmF0aWMuCgpBcyBhbiBleGFtcGxlLCBjb25zaWRlciB0aGUgRUZJX1NIRUxM X0ZJTEVfSU5GTyBsaXN0LCB3aGljaCBpcyBhIGRhdGEKc3RydWN0dXJlIHRoYXQncyB3aWRlbHkg dXNlZCBpbiB0aGUgVUVGSSBzaGVsbC4gSSByY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