mailing list of musl libc
 help / color / mirror / code / Atom feed
61bcd42ec47e66ea7c561356abd3452b55bb10b8 blob 177 bytes (raw)

1
2
3
4
5
6
7
8
 
#include <unistd.h>
#include <atomic.h>

size_t __confstr_chk(int name, char *buf, size_t len, size_t buflen)
{
	if (buflen < len) a_crash();
	return confstr(name, buf, len);
}
debug log:

solving 61bcd42 ...
found 61bcd42 in https://inbox.vuxu.org/musl/1434509291-28997-1-git-send-email-josiahw@gmail.com/

applying [1/1] https://inbox.vuxu.org/musl/1434509291-28997-1-git-send-email-josiahw@gmail.com/
diff --git a/src/compat/confstr_chk.c b/src/compat/confstr_chk.c
new file mode 100644
index 0000000..61bcd42

Checking patch src/compat/confstr_chk.c...
Applied patch src/compat/confstr_chk.c cleanly.

index at:
100644 61bcd42ec47e66ea7c561356abd3452b55bb10b8	src/compat/confstr_chk.c

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).