<p>Commit <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rpm-software-management/rpm/commit/6487e873f3169c2bffbd52808b6c749e6c104ff5/hovercard" href="https://github.com/rpm-software-management/rpm/commit/6487e873f3169c2bffbd52808b6c749e6c104ff5"><tt>6487e87</tt></a> introduced a thread local<br>
BUFSIZ static buffer for header format error reporting but thread local<br>
storage is apparently a rather scarce resource (on some architectures<br>
more so than others) and this is highly excessive use of that resource.<br>
Use a thread local pointer to dynamically (re)allocated buffer instead.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/rpm-software-management/rpm/pull/759'>https://github.com/rpm-software-management/rpm/pull/759</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Don't hog thread local storage, it's a scarce resource (RhBug:1722181)</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/rpm-software-management/rpm/pull/759/files#diff-0">lib/headerfmt.c</a>
    (8)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/759.patch'>https://github.com/rpm-software-management/rpm/pull/759.patch</a></li>
  <li><a href='https://github.com/rpm-software-management/rpm/pull/759.diff'>https://github.com/rpm-software-management/rpm/pull/759.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/rpm-software-management/rpm/pull/759?email_source=notifications&email_token=ADLPZU3FWRPZGLPVQKPJS33P3NO6TA5CNFSM4HZRY6I2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2VPTJQ">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ADLPZU74HKSDK3TCKAA6HYTP3NO6TANCNFSM4HZRY6IQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ADLPZUZKCGEFRURHQ23E62LP3NO6TA5CNFSM4HZRY6I2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2VPTJQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/rpm-software-management/rpm/pull/759?email_source=notifications\u0026email_token=ADLPZU3FWRPZGLPVQKPJS33P3NO6TA5CNFSM4HZRY6I2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2VPTJQ",
"url": "https://github.com/rpm-software-management/rpm/pull/759?email_source=notifications\u0026email_token=ADLPZU3FWRPZGLPVQKPJS33P3NO6TA5CNFSM4HZRY6I2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G2VPTJQ",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>