Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/AssemblyScript/musl
Mirror of git://git.musl-libc.org/musl
https://github.com/AssemblyScript/musl
in arm rtabi these __aeabi_* functions have special abi (they are
only allowed to clobber r0,r1,...
commit 2d7d05f031e014068a61d3076c6178513395d2ae wrongly changed ERANGE
to EINVAL, likely as the ...
5948bc1a642e6cead729602c9e1a251d5f60bddb authored over 7 years ago
commit 97bd6b09dbe7478d5a90a06ecd9e5b59389d8eb9 refactored the table
lookup into a function and ...
POSIX requires ctime_r return a null pointer on failure, which can
occur if the input time_t val...
these functions return an error code, and are not explicitly
documented to set errno, but they a...
ctime passes the result from localtime directly to asctime. But in case
of error, localtime retu...
mremap seems to always fail on nommu, and on some non-Linux
implementations of the Linux syscall...
POSIX defines getdate error #5 as:
"An I/O error is encountered while reading the template file....
Per 1003.1-2008 (2016 ed.), catopen must set errno on failure.
We set errno to EOPNOTSUPP becau...
af0517301677b4206c605caaef25f5d57a31b5b8 authored over 7 years ago
the check to prevent matching empty string wrongly blocked matching
of "/" due to checking empti...
when using the sh4a opcodes, the assembler tags the resulting object
file as requiring sh4a. the...
Make a fast path for ascii chars which is assumed to be the most common
case. This has significa...
at one point, clang reportedly failed to support the asm register
constraints needed for inline ...
mips64 requires 'struct stat' conversion due to incorrect 32-bit
fields where time_t should be i...
The flags argument was missing, causing uninitalized data to be passed
to fchownat(2). The corre...
there was missing reverse-conversion logic for the case, handled
specially in the character set ...
per POSIX, EINVAL is not a mandatory error, only an optional one. but
reporting unsupported flag...
the bit is reserved anyway for ABI-compat reasons; this documents it
and makes it so we can have...
This structure was missed when creating the s390x port.
This is based on the report and patch f...
555504166852a9b9c56ac4e1fb5bb1bf20cbf8ad authored almost 8 years ago
this functionality has been adopted for inclusion in the next issue of
POSIX as the result of Au...
the code being removed was written to optimize for size assuming the
compiler cannot collapse co...
commit 0a950dcf15bb9f7274c804dca490e9e20e475f3e added checking that
the pathname a tty device wa...
commit d6cb08bcaca4ff1f921375510ca72bccea969c75 moved the code and
introduced an incorrect strin...
in nearest rounding mode scalbn could introduce double rounding error
when an intermediate value...
normally 32-bit archs use the mmap2 syscall and are limited to an
offset of 2^32 pages. however ...
analogous to commit 5bf7eba213cacc4c1220627c91c28deff2ffecda, use of
AT_PHDR/PT_PHDR does not ac...
due to testing buf[i].family==AF_INET before checking i==cnt, it was
possible to read past the e...
this should increase performance and reduce code size on aarch64.
the compiled code was checked...
54807d47acecab778498ced88ce8f62bfa16e379 authored almost 8 years ago
in this case, a potentially-uninitialized or unrelated existing value
in tm_year was being used....
string pointer was not advanced after matching.
834ef7aff5695e79b1feeacfdc15eaba6a42cab9 authored almost 8 years agotm_yday range is 0-365 while %j is 1-366
85dfab7eaf1624577ec6de8375fd771ef9b4672a authored almost 8 years ago
With REG_NEWLINE, POSIX says:
"A <newline> in string shall not be matched by a period outside
a ...
the old limit was one byte too short to support locale names of the
form xx_XX.UTF-8@modifier wh...
often translations will be named only by language, whereas locale
names may also include a terri...
when called for LC_ALL, setlocale has to return a string representing
the state of all locale ca...
commit 4ff234f6cba96403b5de6d29d48a59fd73252040 erroneously changed
the condition for running ce...
the time of day at which daylight time switches over is specified in
local time in the dst state...
Including sys/procfs.h complains unknown type name 'fpreg_t' in
bits/user.h. fpreg_t in bits/sig...
this change was suggested based on testing done by Timo Teräs almost
two years ago; the branch (...
partly following freebsd rev 279491
https://svnweb.freebsd.org/base?view=revision&revision=27949...
cb525397bb053ea49cf160965477a17b17286eb3 authored almost 8 years ago
such loading is unsafe, and can happen when programs use their own
logic to locate a .so file th...
if the length of the input was equal to the buffer size (128), a fixed
value of zero was written...
733d1ea759119bcd0554f25034d1b4113b910900 authored almost 8 years ago
6a209f14ff7273d9429e5153c5b6b1990cb508e3 authored almost 8 years ago
this could only happen if an incomplete auxv was passed into the
program, but it's better to jus...
the fix in commit c3edc06d1e1360f3570db9155d6b318ae0d0f0f7 for
CVE-2016-8859 used gotos to exit ...
traditional lazy relocation with call-time plt resolver is
intentionally not implemented, as it ...
these two tasks are independent now, but in order to support lazy
relocations, the failure path ...
when loading libraries with dlopen, the caller can request that the
library's symbols become par...
A weak symbol definition is not special during dynamic linking, so
don't let a strong definition...
the 32-bit pc-relative address for stage 2 of dynamic linker entry was
wrongly loaded with a zer...
this is not a conformance issue as posix does not specify the
argument order, but the order is s...
the ABI for arm was silently changed at some point to allow page sizes
other than 4k; traditiona...
binutils commit bada43421274615d0d5f629a61a60b7daa71bc15 tightened
immediate fixup handling in g...
This was missed when writing the port initially.
9201c3afce0ff53a9b1c5da5285ff84c11dee9d4 authored almost 8 years ago
use the standard strnlen idiom for cases where lengths greater than an
imposed limit are going t...
the plural_rule field of allocated msgcat structures was assumed to be
initially-null but was ne...
this loop was only supposed to deactivate other bindings for the same
text domain name, but due ...
commit 78a8ef47c4d92b7680c52a85f80a81e29da86bb9 inadvertently removed
the SA_RESTART flag from t...
x32 has another gratuitous difference to all other archs:
it passes an array of 64bit values to ...
commit d56460c939c94a6c547abe8238f442b8de10bfbd introduced this
regression as part of splitting ...
ISO C and POSIX only specify behavior for base arguments of 0 and
2-36; POSIX mandates an EINVAL...
getopt is only specified to modify optopt on error, and some software
apparently infers an error...
when _GNU_SOURCE is defined, which is always the case when compiling
c++ with gcc, these macros ...
commit 0dc99ac413d8bc054a2e95578475c7122455eee8 added input length
checking to avoid unsafe VLA ...
commit 583ea83541dcc6481c7a1bd1a9b485526bad84a1 fixed the case where
tm_year is negative but the...
8fe1f2d79b275b7f7fb0d41c99e379357df63cd9 authored about 8 years ago
export tcp data delivery rate in tcp_info struct.
see linux commit eb8329e0a04db0061f714f033b445...
for handling file locking on overlayfs.
see linux commit c568d68341be7030f5647def68851e469b21ca11
see linux commit e8c24d3a23a469f1f40d4de24d872ca7023ced0a
and linux Documentation/x86/protection...
the static-linked version of __init_tls needs to locate the TLS
initialization image via the ELF...
all assembly is now thumb2-compatible. on existing targets this is at
best a size optimization, ...
three problems are addressed:
- use of pc arithmetic, which was difficult if not impossible to ...
29237f7f5c09c436825a7a12b68ab4143b0ebd1f authored about 8 years ago
the thumb incompatibilities in the asm are probably only minor and
should be fixable, but for no...
sp cannot be used in the ldm/stm register set in thumb mode.
fbbeda172d6f146067f9f57ab1498cf99c8d1007 authored about 8 years agofloat conversion is slow and big on soft-float targets.
The lookup table increases code size a ...
61ff1af76f4887bb7c555e4d0b8a7eeb73b05086 authored about 8 years ago
In BRE, ^ is an anchor at the beginning of an expression, optionally
it may be an anchor at the ...
POSIX specifies the result to have signed 32-bit range. on 32-bit
archs, the implicit conversion...
bfcf5735d08b4e57e0865006392822f8b526771a authored about 8 years ago
the bz instruction that was wrongly used only admits a small immediate
displacement and cannot b...
3f79eaa870a87c7f7d19c0e340791fac80a16d06 authored about 8 years ago
afefce19fd7d1dd6aa8789f598a60b1d974f45fb authored about 8 years ago
this has been slated for removal for a long time. there is
fundamentally no way to implement std...
6f1866768a86239672ed811777dfe89994d64a65 authored about 8 years ago
gdb can only backtrace/unwind across signal handlers if it recognizes
the sa_restorer trampoline...
15094943050eb9a564f409323070e50b40f78816 authored about 8 years ago
On s390x, the kernel provides AT_SYSINFO_EHDR, but sets it to zero, if the
program being run doe...
alpha and s390x gratuitously use 64-bit entries (wasting 2x space and
cache utilization) despite...
commit 31fb174dd295e50f7c5cf18d31fcfd5fe5a063b7 used
DEFAULT_GUARD_SIZE from pthread_impl.h in a...
based on patch by Timo Teräs:
While generally this is a bad API, it is the only existing API to...
31fb174dd295e50f7c5cf18d31fcfd5fe5a063b7 authored about 8 years ago
commit 33ce920857405d4f4b342c85b74588a15e2702e5 broke pthread_create
in the case where a null at...
the linux kernel uapi headers provide their own definitions of the
structures from netinet/in.h,...
previously, the pthread_attr_t object was always initialized all-zero,
and stack/guard size were...
the swprintf write callback never reset its buffer pointers, so after
its 256-byte buffer filled...
the overflow check for years+100 did not account for the extra
year computed from the remaining ...
If a DT_NEEDED entry was the prefix of a reserved library name
(up to the first dot) then it was...
this was harmless as load_library is not called concurrently,
but it used one word of bss.
the value 19991006 for __RES implies availability of res_ninit and
related functions that take a...