From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11847 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: open issues Date: Sun, 27 Aug 2017 06:36:06 +0200 Message-ID: <20170827043606.GQ15263@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1503808583 28599 195.159.176.226 (27 Aug 2017 04:36:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 27 Aug 2017 04:36:23 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-11860-gllmg-musl=m.gmane.org@lists.openwall.com Sun Aug 27 06:36:17 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dlpJ1-00070o-P7 for gllmg-musl@m.gmane.org; Sun, 27 Aug 2017 06:36:15 +0200 Original-Received: (qmail 24379 invoked by uid 550); 27 Aug 2017 04:36:20 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 24345 invoked from network); 27 Aug 2017 04:36:19 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline Xref: news.gmane.org gmane.linux.lib.musl.general:11847 Archived-At: list of issues since last release that don't seem to be resolved. first ones that looked like bugs to me, then other issues. list goes backward in time, some issues may be missed. bug: - update contributors in copyright file - fflush(0) does not lock f http://git.musl-libc.org/cgit/musl/tree/src/stdio/fflush.c#n12 - getenv/setenv/putenv ub http://www.openwall.com/lists/musl/2017/08/21/1 http://www.openwall.com/lists/musl/2016/03/13/7 - fix ioctl on mips, add SIOCGSTAMPNS http://www.openwall.com/lists/musl/2017/08/13/4 http://www.openwall.com/lists/musl/2017/08/13/5 - ipc/ftok.c overflowing shift http://www.openwall.com/lists/musl/2017/08/12/5 - __progname fallbacks so it's never 0 http://www.openwall.com/lists/musl/2017/07/28/6 - mbsnrtowcs and mbsnrtowcs confuses byte and wchar counts http://www.openwall.com/lists/musl/2017/08/09/1 - memset ub because s[0] = s[0] = c http://www.openwall.com/lists/musl/2017/07/10/7 http://www.openwall.com/lists/musl/2017/07/06/2 - handle whitespace before %% in scanf http://www.openwall.com/lists/musl/2017/07/11/1 - mips64 utime issue? "tar binary can't fix the modification/access times on any extracted symbolic links," http://www.openwall.com/lists/musl/2017/07/06/1 - oob reads in memmem (and signed << ub) http://www.openwall.com/lists/musl/2017/06/29/6 - use-after-free in __unlock of pthread struct http://www.openwall.com/lists/musl/2017/06/01/7 - newly created thread may run with signals blocked < sergei> there seems to be a race condition in pthread_create.c between lines 134 and 298 < sergei> if line 298 is executed before 134 (assuming syscall returned 0), startlock will be overwritten with zero, the condition will be evaluated to false and __restore_sigs will not be executed < sergei> the newly created thread will run with all signals blocked < sergei> i have a patch that fixes the issue for me: https://pastebin.com/T5QSd0C9 - scanf, wrong types in va_arg http://www.openwall.com/lists/musl/2017/04/10/3 - missed underflow in fma http://www.openwall.com/lists/musl/2017/03/19/6 new fma, depends on a_clz_64 http://www.openwall.com/lists/musl/2017/04/23/10 - fix nftw when called with paths ending in slash http://www.openwall.com/lists/musl/2017/03/07/1 - fix syscall number differences compared to linux uapi http://www.openwall.com/lists/musl/2017/02/18/1 - getservbyport(_r) should not report numeric ports http://www.openwall.com/lists/musl/2017/02/06/5 - add s390x and powerpc64 to supported arches http://www.openwall.com/lists/musl/2017/02/01/2 - define IPPORT_RESERVED in netinet/in.h and netdb.h http://www.openwall.com/lists/musl/2017/01/31/4 - GLOB_PERIOD is inconsistent with glibc http://www.openwall.com/lists/musl/2017/01/12/5 - mmap should not return EPERM when it means ENOMEM http://www.openwall.com/lists/musl/2017/01/12/1 - getopt_long does not report failure correctly http://www.openwall.com/lists/musl/2017/01/07/4 - make dlsym and reloc time lookup consistent http://www.openwall.com/lists/musl/2017/02/16/1 - ldso ctor dependency ordering and recursive dlopen fix http://www.openwall.com/lists/musl/2017/01/03/6 - align arm hwcap.h with glibc (nsz) feature request: - pending linux uapi updates: v4.10, v4.11, v4.12 (nsz) - non-thread-safe apis (gethostbyname) can detect some misuse and crash - avoid mmapping inaccessible parts of a binary as rx - syslog.h prioritynames compund literal causes problems http://www.openwall.com/lists/musl/2017/08/16/4 - align fnmatch \ in bracket semantics with glibc http://www.openwall.com/lists/musl/2017/08/15/2 - pthread_attr_init behaviour (to use whatever was set in pthread_setattr_default_np) http://www.openwall.com/lists/musl/2017/08/12/6 - fix stdbool.h in c++ code? http://www.openwall.com/lists/musl/2017/07/28/1 - add sysconf support for _SC_LEVEL1_DCACHE_LINESIZE http://www.openwall.com/lists/musl/2017/07/24/1 - change GMT to UTC http://www.openwall.com/lists/musl/2017/07/22/2 - [RFC PATCH 0/5] Add explicit_bzero, vectorize and 'normalize' various string functions http://www.openwall.com/lists/musl/2017/07/15/1 - strlen variant without aliasing violation http://www.openwall.com/lists/musl/2017/07/10/6 - |32 is not needed in (t|32) != 'c' http://www.openwall.com/lists/musl/2017/07/09/5 - __malloc_donate instead of current hack in ldso http://www.openwall.com/lists/musl/2017/06/28/4 - optimize __malloc0 to clear memory faster http://www.openwall.com/lists/musl/2017/06/26/1 - code size optimize wmemcpy http://www.openwall.com/lists/musl/2017/06/25/10 - [PATCH 0/8] the new __lock and follow up patches http://www.openwall.com/lists/musl/2017/06/23/2 - more correct va_arg use in fcntl http://www.openwall.com/lists/musl/2017/06/21/16 - use better name than index in __tz.c http://www.openwall.com/lists/musl/2017/06/11/12 - use O_TMPFILE in tmpfile if possible http://www.openwall.com/lists/musl/2017/06/08/2 - fix user.h so gdb builds cleanly on all targets http://www.openwall.com/lists/musl/2017/06/11/2 - towlower performance http://www.openwall.com/lists/musl/2017/05/27/2 - RES_OPTIONS support for resolv.conf options overriding http://www.openwall.com/lists/musl/2017/04/30/1 related libc-alpha discussion http://sourceware.org/ml/libc-alpha/2017-08/msg01097.html - strptime %z %Z http://www.openwall.com/lists/musl/2017/04/19/1 - add microMIPS32 support http://www.openwall.com/lists/musl/2017/05/31/2 - IDNA support in name lookups http://www.openwall.com/lists/musl/2017/04/02/1 - improve LIBCC detection in configure? http://www.openwall.com/lists/musl/2017/03/16/2 - precise complex math http://www.openwall.com/lists/musl/2017/02/12/3 - strtoul of width specifier clobbers errno in strftime http://www.openwall.com/lists/musl/2017/02/12/1 - provide sgidefs.h on mips http://www.openwall.com/lists/musl/2017/02/04/2 - add GLOB_TILDE support http://www.openwall.com/lists/musl/2017/01/20/4 - crypt_blowfish: support $2b$ prefix http://www.openwall.com/lists/musl/2017/01/12/6 - strftime _-0 http://www.openwall.com/lists/musl/2017/01/06/1 - static-pie relro < fabled> how does static pie musl libc init work? < fabled> the reason i ask is, that relro is not enabled then < fabled> it should do mprotect() for the relro area < nsz> ah i see if you have 'static int *const p = &x;' then that relative reloc should be in relro - fts64 http://www.openwall.com/lists/musl/2016/11/23/1 - REG_STARTEND http://www.openwall.com/lists/musl/2016/10/05/6 - realpath without /proc http://www.openwall.com/lists/musl/2016/11/03/5 - new tsearch http://www.openwall.com/lists/musl/2015/12/20/1 - avoid readv in stdio with 0 length buffer because that's broken on /proc https://bugzilla.kernel.org/show_bug.cgi?id=195697 - add fortify _chk functions - memchr optimization