<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Improper use of asprintf() in login/pam_systemd.c"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90017">bug 90017</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WONTFIX
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Improper use of asprintf() in login/pam_systemd.c"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90017#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WONTFIX - Improper use of asprintf() in login/pam_systemd.c"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90017">bug 90017</a>
from <span class="vcard"><a class="email" href="mailto:lennart@poettering.net" title="Lennart Poettering <lennart@poettering.net>"> <span class="fn">Lennart Poettering</span></a>
</span></b>
<pre>asprintf() is not POSIX anyway.
This has come up before, but I think the man page is simply a bit unlcear (I
mean, it confuses "undefined" with "whatever was set before", the code in glibc
actually doesn't clobber the pointer.
Either way, I am pretty sure our code does this right and we should leave it
that way. SHould asprintf() in glibc really change their logic one day and
start clobbering the pointer on failure, then the right answer is to wrap
asprintf() in some call safe_asprintf() or so which fixes this behaviour.
Either way I don't think we need to fix anything now.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>