[prev in list] [next in list] [prev in thread] [next in thread] 

List:       musl
Subject:    [musl] closedir()
From:       "De Paula, Judah" <judah.depaula () pioneer ! com>
Date:       2019-01-31 21:58:06
Message-ID: C1411572-ACFD-480B-840C-1B8988B52451 () pioneer ! com
[Download RAW message or body]

[Attachment #2 (text/plain)]

Hi MUSLers,

Possible bug report?  I'm not on your DL, but would like to hear back if you find \
this helpful.

I'm working on an internal corporate application using Docker and Alpine.  Under \
normal Fedora my app calls closedir(NULL) and a -1 is returned.  Under MUSL, it \
segfaults.  I'm changing the code to not call closedir() with a null pointer, but I'm \
not certain segfaults are considered Working As Designed.

http://man7.org/linux/man-pages/man3/closedir.3.html

Thank you,
Judah


This communication is for use by the intended recipient and contains information that \
may be Privileged, confidential or copyrighted under applicable law. If you are not \
the intended recipient, you are hereby formally notified that any use, copying or \
distribution of this e-mail,in whole or in part, is strictly prohibited. Please \
notify the sender by return e-mail and delete this e-mail from your system. Unless \
explicitly and conspicuously designated as "E-Contract Intended", this e-mail does \
not constitute a contract offer, a contract amendment, or an acceptance of a contract \
offer. This e-mail does not constitute a consent to the use of sender's contact \
information for direct marketing purposes or for transfers of data to third parties. \
Francais Deutsch Italiano Espanol Portugues Japanese Chinese Korean \
http://www.DuPont.com/corp/email_disclaimer.html


[Attachment #3 (text/html)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi MUSLers,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Possible bug report?&nbsp; I'm \
not on your DL, but would like to hear back if you find this \
helpful.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt">I'm working on an internal corporate application using \
Docker and Alpine.&nbsp; Under normal Fedora my app calls closedir(NULL) and a -1 is \
returned.&nbsp; Under MUSL, it segfaults.&nbsp; I'm changing the code to not call  \
closedir() with a null pointer, but I'm not certain segfaults are considered Working \
As Designed.<o:p></o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
style="font-size:11.0pt"><a \
href="http://man7.org/linux/man-pages/man3/closedir.3.html">http://man7.org/linux/man-pages/man3/closedir.3.html</a>
 <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thank you,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Judah<o:p></o:p></span></p>
</div>
<br>
<br>
This communication is for use by the intended recipient and contains information that \
may be Privileged, confidential or copyrighted under applicable law. If you are not \
the intended recipient, you are hereby formally notified that any use, copying or \
distribution  of this e-mail,in whole or in part, is strictly prohibited. Please \
notify the sender by return e-mail and delete this e-mail from your system. Unless \
explicitly and conspicuously designated as &quot;E-Contract Intended&quot;, this \
e-mail does not constitute a contract  offer, a contract amendment, or an acceptance \
of a contract offer. This e-mail does not constitute a consent to the use of sender's \
contact information for direct marketing purposes or for transfers of data to third \
parties. Francais Deutsch Italiano Espanol  Portugues Japanese Chinese Korean \
http://www.DuPont.com/corp/email_disclaimer.html </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic