Date: Sun, 27 Aug 2017 06:36:06 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: open issues 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 = s = 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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.