commit | c54e523d9dacdb7eec7f20964df12df9b80f467c | [log] [tgz] |
---|---|---|
author | Simo Sorce <simo@redhat.com> | Tue May 11 14:18:10 2021 -0400 |
committer | Simo Sorce <simo@redhat.com> | Tue May 11 14:26:04 2021 -0400 |
tree | c35e7a3ceb8cfaf1f0efe8ec7f1d930dee8690af | |
parent | 890a8a972142bde661abe1d57dc5195dd4074148 [diff] |
Fix String overflow warning Scanner Output -------------- rror: COMPILER_WARNING (CWE-758): [#def2] libtasn1-4.16.0/lib/element.c: scope_hint: In function '_asn1_append_sequence_set' libtasn1-4.16.0/lib/element.c:186:7: warning[-Wstringop-overflow=]: '_asn1_ltostr' accessing 22 bytes in a region of size 21 # 186 | _asn1_ltostr (n, temp + 1); # | ^~~~~~~~~~~~~~~~~~~~~~~~~~ libtasn1-4.16.0/lib/element.c:186:7: note: referencing argument 2 of type 'char *' libtasn1-4.16.0/lib/element.c:30: included_from: Included from here. libtasn1-4.16.0/lib/parser_aux.h:70:7: note: in a call to function '_asn1_ltostr' # 70 | char *_asn1_ltostr (int64_t v, char str[LTOSTR_MAX_SIZE]); # | ^~~~~~~~~~~~ # 184| n++; # 185| temp[0] = '?'; # 186|-> _asn1_ltostr (n, temp + 1); # 187| } # 188| _asn1_set_name (p2, temp); Signed-off-by: Simo Sorce <simo@redhat.com>
Branch | CI system | Status |
---|---|---|
Master | Gitlab |
This is GNU Libtasn1, a small ASN.1 library.
The C library (libtasn1.*) is licensed under the GNU Lesser General Public License version 2.1 or later. See the file COPYING.LIB.
The command line tool, self tests, examples, and other auxilliary files, are licensed under the GNU General Public License version 3.0 or later. See the file COPYING.
We require several tools to build the software, including:
The required software is typically distributed with your operating system, and the instructions for installing them differ. Here are some hints:
Debian/Ubuntu:
sudo apt-get install make git autoconf automake libtool bison sudo apt-get install texinfo texlive texlive-extra-utils sudo apt-get install help2man gtk-doc-tools valgrind abigail-tools
Debian <= stretch:
sudo apt-get install texlive-generic-recommended
Debian >= buster:
sudo apt-get install texlive-plain-generic
The next step is to run autoreconf, ./configure, etc:
$ ./bootstrap
Then build the project normally:
$ make $ make check
Happy hacking!
The manual is in the doc/
directory of the release. You can also browse the manual online at:
The coverage report is at:
The project homepage at the gnu site is at: