<!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/rockdaboot">Tim Rühsen</a> created an issue:
</p>
<div></div>
<p dir="auto">Building with ASAN/UBSAN enabled and then <code>cd fuzz; make check; grep -i Sani *.log</code> shows:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC2" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC3" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC4" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC5" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC6" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC7" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC8" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC9" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC10" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC11" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC12" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1773:47 in </span>
<span id="LC13" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1155:22 in </span>
<span id="LC14" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior pk.c:573:28 in </span>
<span id="LC15" class="line" lang="plaintext">gnutls_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior pk.c:573:19 in </span>
<span id="LC16" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC17" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC18" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC19" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC20" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC21" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC22" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC23" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC24" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC25" class="line" lang="plaintext">gnutls_client_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC26" class="line" lang="plaintext">gnutls_ocsp_resp_parser_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ocsp_output.c:527:58 in </span>
<span id="LC27" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC28" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC29" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC30" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC31" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC32" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../num.h:60:12 in </span>
<span id="LC33" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC34" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC35" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC36" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC37" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC38" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1773:47 in </span>
<span id="LC39" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC40" class="line" lang="plaintext">gnutls_psk_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1155:22 in </span>
<span id="LC41" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC42" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC43" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC44" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC45" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC46" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC47" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC48" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC49" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC50" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC51" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC52" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1773:47 in </span>
<span id="LC53" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC54" class="line" lang="plaintext">gnutls_psk_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1155:22 in </span>
<span id="LC55" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC56" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC57" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC58" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC59" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC60" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC61" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC62" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC63" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC64" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC65" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC66" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1773:47 in </span>
<span id="LC67" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC68" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior pk.c:668:12 in </span>
<span id="LC69" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior pk.c:670:37 in </span>
<span id="LC70" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rsa.c:233:8 in </span>
<span id="LC71" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rsa.c:235:8 in </span>
<span id="LC72" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rsa.c:231:7 in </span>
<span id="LC73" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rsa.c:236:10 in </span>
<span id="LC74" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1155:22 in </span>
<span id="LC75" class="line" lang="plaintext">gnutls_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC76" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC77" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC78" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC79" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC80" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC81" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC82" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC83" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC84" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC85" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC86" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC87" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC88" class="line" lang="plaintext">gnutls_server_rawpk_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC89" class="line" lang="plaintext">gnutls_set_trust_file_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior verify-high.c:284:7 in </span>
<span id="LC90" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC91" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC92" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC93" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC94" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC95" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC96" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC97" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC98" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC99" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1773:47 in </span>
<span id="LC100" class="line" lang="plaintext">gnutls_srp_client_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC101" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:96:15 in </span>
<span id="LC102" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior rnd-fuzzer.c:122:10 in </span>
<span id="LC103" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior handshake.c:2704:34 in </span>
<span id="LC104" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1173:61 in </span>
<span id="LC105" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.c:982:15 in </span>
<span id="LC106" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC107" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:298:9 in </span>
<span id="LC108" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior kx.c:299:34 in </span>
<span id="LC109" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC110" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior hello_ext.c:403:9 in </span>
<span id="LC111" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior num.h:60:12 in </span>
<span id="LC112" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1773:47 in </span>
<span id="LC113" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior buffers.h:89:15 in </span>
<span id="LC114" class="line" lang="plaintext">gnutls_srp_server_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior record.c:1155:22 in </span>
<span id="LC115" class="line" lang="plaintext">gnutls_x509_verify_fuzzer.log:SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior verify.c:660:29 in </span></code></pre>
<p dir="auto">We should fix these and then set UBSAN_OPTIONS in the CI to abort on UB.</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/gnutls/issues/878">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/7d52ce57950745a0d3849f2629cdd615/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/gnutls/issues/878"}}</script>


</p>
</div>
</body>
</html>