[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v17 04/20] libtasn1: changes for grub compatibility
From: |
Daniel Kiper |
Subject: |
Re: [PATCH v17 04/20] libtasn1: changes for grub compatibility |
Date: |
Mon, 17 Jun 2024 17:12:12 +0200 |
On Fri, Jun 14, 2024 at 02:45:37PM +0800, Gary Lin wrote:
> Based on the patch from "Daniel Axtens <dja@axtens.net>"
>
> Do a few things to make libtasn1 compile as part of grub:
>
> - remove _asn1_strcat and replace strcat with the bound-checked
> _asn1_str_cat except the one inside _asn1_str_cat. That strcat is
> replaced with strcpy.
>
> - adjust header paths in libtasn1.h
>
> - replace a 64 bit division with a call to grub_divmod64, preventing
> creation of __udivdi3 calls on 32 bit platforms.
This patch should be split into three separate patches.
I think this and other libtasn1 fixes should have
"Signed-off-by: Daniel Axtens <dja@axtens.net>" here.
> Signed-off-by: Gary Lin <glin@suse.com>
Daniel
- [PATCH v17 03/20] libtasn1: disable code not needed in grub, (continued)
- [PATCH v17 03/20] libtasn1: disable code not needed in grub, Gary Lin, 2024/06/14
- [PATCH v17 02/20] libtasn1: import libtasn1-4.19.0, Gary Lin, 2024/06/14
- [PATCH v17 05/20] libtasn1: fix the potential buffer overrun, Gary Lin, 2024/06/14
- [PATCH v17 06/20] libtasn1: compile into asn1 module, Gary Lin, 2024/06/14
- [PATCH v17 04/20] libtasn1: changes for grub compatibility, Gary Lin, 2024/06/14
- Re: [PATCH v17 04/20] libtasn1: changes for grub compatibility,
Daniel Kiper <=
- [PATCH v17 07/20] asn1_test: test module for libtasn1, Gary Lin, 2024/06/14
- [PATCH v17 08/20] libtasn1: Add the documentation, Gary Lin, 2024/06/14
- [PATCH v17 09/20] key_protector: Add key protectors framework, Gary Lin, 2024/06/14
- [PATCH v17 10/20] tpm2: Add TPM Software Stack (TSS), Gary Lin, 2024/06/14