<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p class="details" style="font-style: italic; color: #777;">
<a href="https://gitlab.com/whzhe51">whzhe51</a> created an issue:
</p>
<div></div>
<h2 dir="auto">
<a id="user-content-description-of-problem" class="anchor" href="#description-of-problem" aria-hidden="true"></a>Description of problem:</h2>
<p dir="auto">Indirect leak of 912 byte(s) in 6 object(s) allocated from:
#0 0x5216a2 in calloc /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:154:3
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/1" data-original="#1" data-link="false" data-link-reference="false" data-project="919981" data-issue="9021473" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="First test issue" class="gfm gfm-issue has-tooltip">#1</a> 0x56fb06 in _asn1_add_static_node /src/libtasn1/lib/parser_aux.c:72:10
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/2" data-original="#2" data-link="false" data-link-reference="false" data-project="919981" data-issue="9573481" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="auto-generate manual" class="gfm gfm-issue has-tooltip">#2</a> 0x554557 in asn1_array2tree /src/libtasn1/lib/structure.c:199:11
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/3" data-original="#3" data-link="false" data-link-reference="false" data-project="919981" data-issue="12058636" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="git repo has broken tags" class="gfm gfm-issue has-tooltip">#3</a> 0x553cc0 in LLVMFuzzerTestOneInput /src/libtasn1/fuzz/libtasn1_array2tree_fuzzer.c:84:3
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/4" data-original="#4" data-link="false" data-link-reference="false" data-project="919981" data-issue="13379219" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Detecting Bug in libtasn1-4.13 by fuzzing." class="gfm gfm-issue has-tooltip">#4</a> 0x459d01 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:556:15
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/5" data-original="#5" data-link="false" data-link-reference="false" data-project="919981" data-issue="13567534" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="GENERIC_ERROR returned on asn1_der_coding method" class="gfm gfm-issue has-tooltip">#5</a> 0x459425 in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long, bool, fuzzer::InputInfo*, bool*) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:470:3
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/6" data-original="#6" data-link="false" data-link-reference="false" data-project="919981" data-issue="16739294" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Gcc 8 warns on buffer truncation" class="gfm gfm-issue has-tooltip">#6</a> 0x45b7c7 in fuzzer::Fuzzer::MutateAndTestOne() /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:698:19
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/7" data-original="#7" data-link="false" data-link-reference="false" data-project="919981" data-issue="21190863" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Version numbers for libtasn1.h" class="gfm gfm-issue has-tooltip">#7</a> 0x45c555 in fuzzer::Fuzzer::Loop(std::Fuzzer::vector<fuzzer::SizedFile, fuzzer::fuzzer_allocator<a href="fuzzer::SizedFile">fuzzer::SizedFile</a> >&) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:830:5
#8 0x44a6d8 in fuzzer::FuzzerDriver(int*, char***, int (<em>)(unsigned char const</em>, unsigned long)) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:824:6
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/9" data-original="#9" data-link="false" data-link-reference="false" data-project="919981" data-issue="22965886" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Reading CHOICE name confuses valgrind" class="gfm gfm-issue has-tooltip">#9</a> 0x474752 in main /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerMain.cpp:19:10
#10 0x7fb87930482f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)</p>
<p dir="auto">Indirect leak of 20 byte(s) in 1 object(s) allocated from:
#0 0x52152d in malloc /src/llvm/projects/compiler-rt/lib/asan/asan_malloc_linux.cpp:145:3
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/1" data-original="#1" data-link="false" data-link-reference="false" data-project="919981" data-issue="9021473" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="First test issue" class="gfm gfm-issue has-tooltip">#1</a> 0x570591 in _asn1_set_value /src/libtasn1/lib/parser_aux.c:274:21
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/2" data-original="#2" data-link="false" data-link-reference="false" data-project="919981" data-issue="9573481" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="auto-generate manual" class="gfm gfm-issue has-tooltip">#2</a> 0x5545d9 in asn1_array2tree /src/libtasn1/lib/structure.c:203:2
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/3" data-original="#3" data-link="false" data-link-reference="false" data-project="919981" data-issue="12058636" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="git repo has broken tags" class="gfm gfm-issue has-tooltip">#3</a> 0x553cc0 in LLVMFuzzerTestOneInput /src/libtasn1/fuzz/libtasn1_array2tree_fuzzer.c:84:3
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/4" data-original="#4" data-link="false" data-link-reference="false" data-project="919981" data-issue="13379219" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Detecting Bug in libtasn1-4.13 by fuzzing." class="gfm gfm-issue has-tooltip">#4</a> 0x459d01 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:556:15
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/5" data-original="#5" data-link="false" data-link-reference="false" data-project="919981" data-issue="13567534" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="GENERIC_ERROR returned on asn1_der_coding method" class="gfm gfm-issue has-tooltip">#5</a> 0x459425 in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long, bool, fuzzer::InputInfo*, bool*) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:470:3
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/6" data-original="#6" data-link="false" data-link-reference="false" data-project="919981" data-issue="16739294" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Gcc 8 warns on buffer truncation" class="gfm gfm-issue has-tooltip">#6</a> 0x45b7c7 in fuzzer::Fuzzer::MutateAndTestOne() /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:698:19
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/7" data-original="#7" data-link="false" data-link-reference="false" data-project="919981" data-issue="21190863" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Version numbers for libtasn1.h" class="gfm gfm-issue has-tooltip">#7</a> 0x45c555 in fuzzer::Fuzzer::Loop(std::Fuzzer::vector<fuzzer::SizedFile, fuzzer::fuzzer_allocator<a href="fuzzer::SizedFile">fuzzer::SizedFile</a> >&) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:830:5
#8 0x44a6d8 in fuzzer::FuzzerDriver(int*, char***, int (<em>)(unsigned char const</em>, unsigned long)) /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:824:6
<a href="https://gitlab.com/gnutls/libtasn1/-/issues/9" data-original="#9" data-link="false" data-link-reference="false" data-project="919981" data-issue="22965886" data-reference-type="issue" data-container="body" data-placement="top" data-html="true" title="Reading CHOICE name confuses valgrind" class="gfm gfm-issue has-tooltip">#9</a> 0x474752 in main /src/llvm/projects/compiler-rt/lib/fuzzer/FuzzerMain.cpp:19:10
#10 0x7fb87930482f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)</p>
<h2 dir="auto">
<a id="user-content-version-of-libtasn1-used" class="anchor" href="#version-of-libtasn1-used" aria-hidden="true"></a>Version of libtasn1 used:</h2>
<p dir="auto">4.16</p>
<h2 dir="auto">
<a id="user-content-distributor-of-libtasn1-eg-ubuntu-fedora-rhel" class="anchor" href="#distributor-of-libtasn1-eg-ubuntu-fedora-rhel" aria-hidden="true"></a>Distributor of libtasn1 (e.g., Ubuntu, Fedora, RHEL)</h2>
<p dir="auto">Fedora</p>
<h2 dir="auto">
<a id="user-content-how-reproducible" class="anchor" href="#how-reproducible" aria-hidden="true"></a>How reproducible:</h2>
<p dir="auto">fuzz-test</p>
<p dir="auto">Steps to Reproduce:</p>
<ul dir="auto">
<li>one</li>
<li>two</li>
<li>three</li>
</ul>
<h2 dir="auto">
<a id="user-content-actual-results" class="anchor" href="#actual-results" aria-hidden="true"></a>Actual results:</h2>
<p dir="auto">memoryleak</p>
<h2 dir="auto">
<a id="user-content-expected-results" class="anchor" href="#expected-results" aria-hidden="true"></a>Expected results:</h2>
<p dir="auto">fuzz-test pass</p>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/libtasn1/-/issues/26">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/f50191ea3d49fe6205ee0e6367020e55/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/libtasn1/-/issues/26"}}</script>
</p>
</div>
</body>
</html>