mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "De Paula, Judah" <judah.depaula@pioneer.com>
To: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: closedir()
Date: Thu, 31 Jan 2019 21:58:06 +0000	[thread overview]
Message-ID: <C1411572-ACFD-480B-840C-1B8988B52451@pioneer.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]

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 #2: Type: text/html, Size: 3608 bytes --]

             reply	other threads:[~2019-01-31 21:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-31 21:58 De Paula, Judah [this message]
2019-02-01  0:27 ` closedir() Rich Felker
2019-02-01  1:03   ` closedir() Jorge Almeida
2019-02-01  2:30     ` closedir() Rich Felker
2019-02-01  9:34       ` closedir() Jorge Almeida

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C1411572-ACFD-480B-840C-1B8988B52451@pioneer.com \
    --to=judah.depaula@pioneer.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).