<!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=utf-8" http-equiv="Content-Type">
<title>
GitLab
</title>


<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<div style="">
<p dir="auto">You are welcome, and thanks for your efforts here.  That is a better title I'd guess.</p>
<p dir="auto">The problem looks to be important as the code section is likely passing a longer string to snprintf than it indicates with the character count.  Adding the additional "-" guarantees that you will be one longer than expected from what I can see.</p>
<p dir="auto">I'd think that you'd need to track current new token chars on top of current past line length chars as well as total buffer length.  This approach looks to not check return from snprintf, not ideal, and just "Adding" the "-" says using sizeof the current token, which gets bumped by one, and the length means Gcc is right to complain.</p>
<p dir="auto">From what I can see.</p>
</div>


</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777777;">

<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/libtasn1/issues/6#note_125734459">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/98c0cb993c8a71ab2b850aebda4cc584/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/6#note_125734459"}}</script>
</p>
</div>
</body>
</html>