3bb74fb0122dd8f541aa139628b5e1993a123437
[www] / musl / bugs.html
1 <html>
2 <head><title>bugs</title></head>
3
4 <h3>bugs found or refound by musl</h3>
5 <ul>
6 <li><a href="http://marc.info/?l=pcc-list&m=130668720317216">pcc (integer constant expression bug)</a>
7 <li><a href="http://marc.info/?l=pcc-list&m=130615802708117">pcc (cpp bug: #define B !defined(A))</a>
8 <li><a href="http://marc.info/?l=pcc-list&m=130608353609512">pcc (cpp bug: macro()text)</a>
9 <li><a href="http://marc.info/?l=pcc-list&m=130574679902571">pcc (cpp bug: line reporting)</a>
10 <li><a href="http://marc.info/?l=pcc-list&m=130573226614698">pcc (cpp bug: recursive macro)</a>
11 <li><a href="http://marc.info/?l=pcc-list&m=130942814905111">pcc (corrupted static variable)</a>
12 <li><a href="http://marc.info/?l=pcc-list&m=131498417826086">pcc (-Os)</a>
13 <li><a href="http://marc.info/?l=pcc-list&m=131161005321400">pcc (makefile bug)</a>
14 <li><a href="http://marc.info/?l=pcc-list&m=134426895408050">pcc (__builtin_nanf for -fPIC)</a>
15 <li><a href="http://marc.info/?l=pcc-list&m=134725988825229">pcc (-print-file-name)</a>
16 <li><a href="http://marc.info/?l=pcc-list&m=134770849902979">pcc (complex cast to double)</a>
17 <li><a href="http://marc.info/?l=pcc-list&m=134795929304570">pcc (crtbeginT.o)</a>
18 <li><a href="http://marc.info/?l=pcc-list&m=135020300019821">pcc (visibility=hidden, inline asm with array argument, __PIC__, pcc-libs withou -fPIC)</a>
19 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48825">gcc 48825 (compiling gcc libiberty is built as target lib)</a>
20 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12549">binutils 12549 (--as-needed should ignore weak refs)</a>
21 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12657">binutils 12657 (binutils uses __pid_t instead of pid_t)</a>
22 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12683">glibc 12683 (race condition in pthread cancellation)</a>, <a href="http://ewontfix.com/2/">article on ewontfix</a>
23 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12701">glibc 12701 (incorrect input matching in scanf)</a>
24 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12889">glibc 12889 (race condition in pthread_kill)</a>
25 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13011">gdb 13011 (build system does not check for dl* api)</a>
26 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13014">gdb 13014 (build system does not check for thread_db api)</a>
27 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13065">glibc 13065 (race condition in pthread barriers)</a>
28 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13080">glibc 13080 (incorrect definition of clock_t)</a>
29 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13151">glibc 13151 (fmemopen does not give EOF)</a>
30 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13152">glibc 13152 (fmemopen does not honour append mode)</a>
31 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13154">glibc 13154 (strtol clobbers endptr on invalid base)</a>
32 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13172">glibc 13172 (aio_suspend is not async-signal-safe)</a>
33 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13234">glibc 13234 (performance issue: non-pshared vs pshared condition vars)</a>
34 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13347">glibc 13347 (threaded setuid can incorrectly report success)</a>
35 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13613">glibc 13613 (broken cancellation in single-threaded process)</a>
36 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13837">glibc 13837 (sin,cos argument reduction on x86)</a>
37 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13891">binutils 13891 (binutils cannot be linked statically)</a>
38 <li><a href="http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11064">libtool (makes static linking impossible)</a>
39 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13959">glibc 13959 (namespace pollution when _GNU_SOURCE is defined)</a>
40 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13988">glibc 13988 (scanf %f handles +.e incorrectly)</a>
41 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52451">gcc 52451 (float nan comparision without raising invalid and broken -mno-ieee-fp)</a>
42 <li><a href="https://bugzilla.gnome.org/show_bug.cgi?id=672665">glib 672665 (race in dlsym error detection)</a>
43 <li><a href="https://bugzilla.gnome.org/show_bug.cgi?id=674446">glib 674446 (g_malloc aborts on allocation failure)</a>
44 <li><a href="https://bugzilla.gnome.org/show_bug.cgi?id=674540">glib 674540 (incorrect assert in gconvert)</a>
45 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14008">glibc 14008 (incorrect iconv behaviour when char does not exist in destination charset)</a>
46 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14010">glibc 14010 (alphabetic character class does not follow unicode)</a>
47 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14029">glibc 14029 (manual wrongly claims fnmatch cannot fail)</a>
48 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52593">gcc 52593 (builtin sqrt is not correctly rounded)</a>
49 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14032">glibc 14032 (sqrt is not correctly rounded)</a>
50 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14037">binutils 14037 (.eh_frame stripped shared lib incorrectly linked with -fPIC program)</a>
51 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14047">glibc 14047 (spurious ERANGE by strtof)</a>
52 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14102">glibc 14102 (NI_NUMERICSCOPE is missing from netdb.h)</a>
53 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14147">glibc 14147 (async cancellation mode may be spuriously set)</a>
54 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14156">binutils 14156 (--sort-sectio=alignment is broken)</a>
55 <li><a href="https://bugs.busybox.net/show_bug.cgi?id=5246">busybox (sed bug)</a>
56 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14233">glibc 14233 (test assertions are not explained)</a>
57 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14254">glibc 14254 (scanf warn-unused-result is not justified)</a>
58 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14286">glibc 14286 (integer overflow in vfwprintf %s)</a>
59 <li><a href="http://www.mail-archive.com/bug-gnulib@gnu.org/msg27302.html">gnulib (SLOW_BUT_NO_HACKS could be a fallback)</a>
60 <li><a href="http://www.mail-archive.com/bug-gnulib@gnu.org/msg27339.html">gnulib (4bugs: freadahead, printf of invalid long double, getopt, SLOW_BUT_NO_HACKS)</a>
61 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54232">gcc 54232 (x86 PIC code reserves register for GOT even if there is no global data)</a>
62 <li><a href="http://www.austingroupbugs.net/view.php?id=603">posix 603 (request for posix_spawn with setrlimit, chdir,..)</a>
63 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14485">glibc 14485 (race condition in robust mutex unlocking)</a>
64 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14511">glibc 14511 (dlcose is unsafe)</a>
65 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14512">binutils 14512 (not-unloadable dso should be the default)</a>
66 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14553">glibc 14553 (loff_t is visible in sys/types.h)</a>
67 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14565">glibc 14565 (additional failure case in writev emulation)</a>
68 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14578">glibc 14578 (fchmodat with AT_SYMLINK_NOFOLLOW fails unconditionally)</a>
69 <li><a href="https://bugzilla.gnome.org/show_bug.cgi?id=684123">glib 684123 (_GNU_SOURCE is only tried if glibc is detected)</a>
70 <li><a href="http://austingroupbugs.net/view.php?id=609">posix 609 (pthread_cond_broadcast, pthread_cond_signal)</a>
71 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14609">glibc 14609 (stack clobbering in pthread cancellation cleanup handlers)</a>
72 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14627">glibc 14627 (interrupted close is non-conformant)</a>
73 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14640">gas 14640 (broken relocations for weak symbols on microblaze)</a>
74 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14697">glibc 14697 (behaviour of exit is non-conformant)</a>
75 <li><a href="https://bugs.launchpad.net/qemu/+bug/1066909">qemu (broken app-level clone for microblaze)</a>
76 <li><a href="https://bugs.launchpad.net/qemu/+bug/1068900">qemu (broken app-level thread cancellation)</a>
77 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14744">glibc 14744 (kill -32 cancels random thread)</a>
78 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14749">glibc 14749 (race condition with vfork in posix_spawn, address space sharing)</a>
79 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14750">glibc 14750 (race condition with vfork in posix_spawn, signal handlers)</a>
80 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55012">gcc 55012 (protected visibility wrongly uses GOT relative addressing)</a>
81 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14752">glibc 14752 (unsafe alloca in shm_open)</a>
82 <li><a href="http://austingroupbugs.net/view.php?id=610">posix 610 (exit vs threads)</a>
83 <li><a href="http://austingroupbugs.net/view.php?id=611">posix 611 (exit vs locked stdio)</a>
84 <li><a href="http://austingroupbugs.net/view.php?id=612">posix 612 (dirname of "usr/" and "/")</a>
85 <li><a href="http://austingroupbugs.net/view.php?id=613">posix 613 (pthread_cleanup_push and auto object lifetime)</a>
86 <li><a href="http://austingroupbugs.net/view.php?id=614">posix 614 (close as a cancellation point)</a>
87 <li><a href="http://austingroupbugs.net/view.php?id=615">posix 615 (pthread_setcancelstate should be async-signal-safe)</a>
88 <li><a href="http://austingroupbugs.net/view.php?id=622">posix 622 (loophole that turns any function async-cancel-safe)</a>
89 <li><a href="http://austingroupbugs.net/view.php?id=623">posix 623 (poll should not modify fds[i].events)</a>
90 <li><a href="http://austingroupbugs.net/view.php?id=624">posix 624 (pthread_cleanup_pop and _push should not require a prototype)</a>
91 <li><a href="http://austingroupbugs.net/view.php?id=625">posix 625 (allowing alarm based sleep contradicts thread-safety)</a>
92 <li><a href="http://austingroupbugs.net/view.php?id=626">posix 626 (fflush vs memory streams)</a>
93 <li><a href="http://austingroupbugs.net/view.php?id=627">posix 627 (pthread cancellation of system())</a>
94 <li><a href="http://austingroupbugs.net/view.php?id=632">posix 632 (pclose as a cancellation point)</a>
95 <li><a href="http://austingroupbugs.net/view.php?id=633">posix 633 (SIGEV_THREAD signal delivery)</a>
96 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14782">glibc 14782 (cancellation is enabled for system)</a>
97 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55129">gcc 55129 (release packaging issue)</a>
98 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14798">binutils 14798 (gas for mips generates symbols with wrong types)</a>
99 <li><a href="https://bugzilla.gnome.org/show_bug.cgi?id=687600">glib 687600 (gfileutils uses open through non-vararg function pointer)</a>
100 <li><a href="https://bugs.launchpad.net/qemu/+bug/1075272">qemu (socket type mapping for mips app-level emulation is wrong)</a>
101 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=10815">glibc 10815 (SIGEV_THREAD signal delivery)</a>
102 <li><a href="http://llvm.org/bugs/show_bug.cgi?id=13694">clang 13694 (wrong optimization with -ffreestanding)</a>
103 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55431">gcc 55431 (invlid auxv search in ppc linux-unwind code)</a>
104 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14829">glibc 14829 (sched_* alter thread scheduling instead of process scheduling)</a>
105 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14830">glibc 14830 (race condition with signals and priority sched)</a>
106 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14942">glibc 14942 (file corruption with close and aio)</a>
107 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14985">glibc 14985 (EPOLL_NONBLOCK broken definition)</a>
108 <li><a href="https://rt.openssl.org/Ticket/Display.html?id=2823&amp;user=guest&amp;pass=guest">openssl (build system issue)</a>
109 <li><a href="https://bugs.launchpad.net/altlinux/+source/inkscape/+bug/910335/+index">inkscape (use of sys/fcntl.h instead of fcntl.h)</a>
110 <li><a href="http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2013-January/date.html">boehm gc (build system, fallback code for determining stack address)</a>
111 <li><a href="http://austingroupbugs.net/view.php?id=650">posix 650 (c99 -E on #pragma)</a>
112 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=15088">glibc 15088 (_POSIX_PRIORITY_SCHEDULING is defined)</a>
113 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=15124">glibc 15124 (no way to get conformant api, eg strerror_r)</a>
114 <li><a href="http://austingroupbugs.net/view.php?id=655">posix 655 (deprecate strerror_r)</a>
115 <li><a href="http://austingroupbugs.net/view.php?id=656">posix 656 (allow or forbid tls for static buffers)</a>
116 <li><a href="http://austingroupbugs.net/view.php?id=659">posix 659 (allow timer_t to be non-arithmetic)</a>
117 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=15129">glibc 15129 (timer_t is non-conforming)</a>
118 <li><a href="https://bugzilla.gnome.org/show_bug.cgi?id=694239">glib 694239 (gresolver uses non-portable libc api)</a>
119 <li><a href="http://austingroupbugs.net/view.php?id=662">posix 662 (atomicity of freopen)</a>
120 <li><a href="http://austingroupbugs.net/view.php?id=663">posix 663 (strcasecmp is underspecified)</a>
121 <li><a href="https://www.redhat.com/archives/linux-lvm/2013-February/msg00000.html">linux-lvm (include the correct header files)</a>
122 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=55771">cairo (FE_ macros might not be defined in fenv.h)</a>
123 <li><a href="http://www.openwall.com/lists/musl/2013/04/02/4">dnsmasq (unchecked use of SO_REUSEPORT)</a>
124 <li><a href="http://groups.google.com/group/googletestframework/browse_thread/thread/8d2ecb3d0211f6db">googletest framework (missing sys/socket.h include)</a>
125 <li><a href="http://www.spinics.net/lists/raid/msg41835.html">mdadm (canonicalize_file_name, broken ifdefs)</a>
126 <li><a href="http://www.spinics.net/lists/dm-crypt/msg04945.html">dm-crypt (missing headers)</a>
127 <li><a href="https://github.com/magnumripper/JohnTheRipper/pull/248/files">johntheripper (expecting tcphdr in tcp.h)</a>
128 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=15368">glibc 15368 (raise is not async signal safe)</a>
129 <li><a href="http://austingroupbugs.net/view.php?id=686">posix 686 (clock() wrap around and signedness of clock_t)</a>
130 <li><a href="http://austingroupbugs.net/view.php?id=689">posix 689 (stdio deadlock)</a>
131 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=15448">glibc 15448 (integer overflow in CPU_* macros in sched.h)</a>
132 <li><a href="http://austingroupbugs.net/view.php?id=695">posix 695 (atomicity of file operations)</a>
133 <li><a href="http://austingroupbugs.net/view.php?id=703">posix 703 (add errno for clock() wrap around)</a>
134 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57258">gcc 57258 (unused warning for volatile variables)</a>
135 <li><a href="http://austingroupbugs.net/view.php?id=708">posix 708 (thread-safety of mblen, mbtowc, and wctomb)</a>
136 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57574">gcc 57574 (incorrect c99 inline semantics)</a>
137 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=15615">glibc 15615 (rand_r is biased)</a>
138 <li><a href="http://austingroupbugs.net/view.php?id=711">posix 711 (va_* macros should be async-signal-safe)</a>
139 <li><a href="http://austingroupbugs.net/view.php?id=712">posix 712 (typographic error in html)</a>
140 <li><a href="http://austingroupbugs.net/view.php?id=713">posix 713 (*quo is unspecified on error in remquo)</a>
141 <li><a href="http://austingroupbugs.net/view.php?id=714">posix 714 (yn(n,0) for negative odd n)</a>
142 <li><a href="http://lists.gnu.org/archive/html/bug-gnulib/2013-06/msg00043.html">gnulib (assuming broken fflush in cross compilation)</a>
143 <li><a href="http://austingroupbugs.net/view.php?id=716">posix 716 (process instead of thread in rename spec)</a>
144 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=15720">glibc 15720 (stdc-predef.h defines __STDC_IEC_559_COMPLEX__)</a>
145 <li><a href="http://austingroupbugs.net/view.php?id=728">posix 728 (signal handler restrictions)</a>
146 <li><a href="http://bugzilla.libsdl.org/show_bug.cgi?id=2019">sdl (SDL_CreateThread stack size is unknown and cannot be set)</a>
147 </ul>
148
149 <h3>bugs relevant for musl</h3>
150 <ul>
151 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=5945">glibc 5945 (regoff_t size)</a>
152 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12674">glibc 12674 (sem_post/sem_wait race)</a>
153 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13276">glibc 13276 (realloc aborts when runs out of vm)</a>
154 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=4737">glibc 4737 (fork is not async-signal-safe)</a>
155 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13470">binutils 13470 (ppc32 ld regressions in 2.22)</a>
156 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13600">binutils 13600 (protected visibility creates bogus relocation)</a>
157 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51437">gcc 51437 (feature request: warn on reserved identifiers)</a>
158 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13165">glibc 13165 (observable invalid ordering with pthread_cond_wait)</a>
159 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770">gcc 46770 (.init_array vs .ctors for initializing static objects in c++)</a>
160 <li><a href="https://svn.boost.org/trac/boost/ticket/7516">boost (endian detection is incorrect)</a>
161 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501">gcc 18501 (missing warning about uninitialized variables)</a>
162 <li><a href="http://llvm.org/bugs/show_bug.cgi?id=8100">clang 8100 (incorrect floating-point optimizations and c99 fenv support)</a>
163 <li><a href="http://ewontfix.com/11/">NULL in vararg functions (ewontfix article)</a>
164 <li><a href="http://ewontfix.com/12/">gcc fixincludes (ewontfix article)</a>
165 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31798">gcc 31798 (on arm libgcc has undefined reference to raise)</a>
166 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56888">gcc 56888 (memcpy is compiled to invoke memcpy)</a> <a href="http://gcc.gnu.org/ml/gcc-help/2013-07/msg00176.html">gcc-help thread</a>
167 </ul>
168
169 <h3>unreported bugs</h3>
170 <ul>
171 <li><a href="http://www.openwall.com/lists/musl/2013/05/05/9">linux procfs and writev</a>
172 <li>posix: usage of the cx option in unistd.h
173 <li>broken bre support in tre
174 <li>broken random in all bsd libc and glibc (bad seed, ub signed int arithmetics)
175 <li>search.h implementation bugs in bsd libc and glibc (stack overflow, hsearch crashes on glibc)
176 <li>several libm bugs in glibc, fdlibm (freebsd, openbsd, bionic,..)
177 <li>gcc fldpi, fldl2e,.. even with -frounding-math
178 <li>gcc -fPIC -Os generates GOT for single 32bit consts instead of using immediate value (for float on i386)
179 <li>llvm signal handler bug (not async-signal-safe, invalid use of c++, racy unmasking) in Support/Unix/Signals.inc
180 <li>llvm exit bug (destructor calls exit)
181 <li>llvm: invalid use of the address of stdin/stdout/stderr in Support/DynamicLibrary.cpp
182 <li>address sanitizer: various problems: stack detection, include files, ifdef, non-portable code,..
183 <li>various c++ projects: depend on constructor order of different tu (<a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770">gcc 46770</a>)
184 <li>various projects: assume large thread stack size without setting it up (firefox,..)
185 <li>various projects: query the base pointer of the stack to do pointer arithmetics with it (libgc, firefox,...)
186 <li>calling dlopen from the constructor of global static object (firefox)
187 <li>incorrect usage of feature test macros and configure results (lots of projects)
188 <li>usage of obsolete wrong headers (sys/foo.h instead of foo.h and vice-versa, many projects)
189 <li>glibc has some missing posix symbols (found by libc-test)
190 <li>glibc has broken vfork on mips
191 <li>glibc integer overflows in time/tz code
192 <li>linux headers invoke ub by using (1 &lt;&lt; 31) eg. MS_NOUSER in inlude/uapi/linux/fs.h
193 <li>strace: broken handling of vfork
194 <li>bionic: posix namespace violation, +gratuitous interface breaking
195 <li>bionic: broken checks in wchar.cpp mbrtowc
196 <li>gnutls: O_CLOEXEC
197 <li>arp: posix namespace collision (tm_)
198 <li>util-linux: cpuset.h __cpumask, etc, sys/ttydefaults.h, __sighandler_t
199 <li>f() instead of (f)() in configure scripts (or #undef)
200 <li>bionic/wchar.cpp 'if (n == 0)' is wrong, should be 'if (s == NULL)' and later 'if (n == 0) return -2'
201 <li>gcc vs c99 annex f issues
202 <li>gcc dl_iterate_phdr configure check (hard coded solaris header check + glibc/bionic/bsd ifdef + config.host overrides)
203 <li>libxml2 and glib: ub and several threading and allocation related bugs
204 </ul>
205
206 <h3>misc</h3>
207 <ul>
208 <li><a href="https://bugs.webkit.org/show_bug.cgi?id=42756">webkit (jit requires vm overcommit)</a> (<a href="http://trac.webkit.org/changeset/137994">fixed</a> 2 years later)
209 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=3400">glibc 3400 (static linking is not supported)</a>
210 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12189">glibc 12189 (__stack_chk_fail attempts backtrace)</a>
211 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41431">gcc 41431 (sizeof(&main) is rejected)</a>
212 <li><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=111373">mozilla (disallow animated favicon)</a> (unfixed since 2001)
213 <li><a href="http://austingroupbugs.net/view.php?id=374">posix 374 (posix vs c inconsistency about malloc(0) and realloc(p,0))</a>
214 <li><a href="http://bugs.python.org/issue13028">python (excessive amount of syscalls made at startup)</a>
215 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13344">glibc 13344 (regression after leaf attribute is added to pthread functions)</a>
216 <li><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619963">eglibc (restrict is added to memmove and thus optimized to memcpy)</a>
217 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13601">glibc 13601 (ldso fails on short read)</a>
218 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=11214">glibc 11214 (CLONE_VM vs TLS)</a>
219 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=4099">glibc 4099 (agressive caching)</a>
220 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=12100">glibc 12100 (strstr: O(n)->O(n^2) on SSE4)</a>
221 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=13138">glibc 13138 (scanf stackoverflows on long numbers)</a>
222 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14195">glibc 14195 (strncasecmp segfaults with SSSE3)</a>
223 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14229">glibc 14229 (strtok_r fails on x32)</a>
224 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14552">glibc 14552 (unbounded alloca in strcoll and strxfrm)</a>
225 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=55213">systemd (early boot vasprintf segfault)</a>
226 <li><a href="http://sourceware.org/bugzilla/show_bug.cgi?id=14716">glibc 14716 (memmem crash)</a>
227 <li><a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52734">gcc 4.7.0 regression (incorrect tail merging optimization)</a>
228 </ul>
229 </html>