[gnutls-devel] libtasn1 | libtasn1 install err (#42)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Wed Mar 22 02:42:47 CET 2023
손병국 created an issue: https://gitlab.com/gnutls/libtasn1/-/issues/42
## Description of problem:
make(install) err
## Version of libtasn1 used:
libtasn1-4.9
## Distributor of libtasn1 (e.g., Ubuntu, Fedora, RHEL)
CentOS8
## How reproducible:
Steps to Reproduce:
* one : ./configure
* two : make
## Actual results:
GNU C17 (GCC) version 8.2.0 (x86_64-pc-linux-gnu)
compiled by GNU C version 8.2.0, GMP version 6.1.2, MPFR version 4.0.1, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 81f798d4ff0871f00b0a4f3f1296b20a
ASN1.c: In function '_asn1_yyparse':
ASN1.y:164:47: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=]
| '-' NUM {snprintf($$,sizeof($$),"-%s",$2);}
^~~~~
ASN1.y:164:6: note: 'snprintf' output between 2 and 66 bytes into a destination of size 65
| '-' NUM {snprintf($$,sizeof($$),"-%s",$2);}
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ASN1.y:152:47: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=]
neg_num : '-' NUM {snprintf($$,sizeof($$),"-%s",$2);}
^~~~~
ASN1.y:152:6: note: 'snprintf' output between 2 and 66 bytes into a destination of size 65
neg_num : '-' NUM {snprintf($$,sizeof($$),"-%s",$2);}
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:1112: recipe for target 'ASN1.lo' failed
This looks to be more than just a warning, since it looks like the buffer is being over extended.
## Expected results:
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/libtasn1/-/issues/42
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20230322/e6d5edbd/attachment.html>
More information about the Gnutls-devel
mailing list