mailing list of musl libc
 help / color / mirror / code / Atom feed
c2ac9f87e9a2ae8504d41fcec880791e9bb6abbe blob 224 bytes (raw)

1
2
3
4
5
6
7
8
9
 
#include <stdlib.h>
#include <limits.h>
#include "atomic.h"

char *__realpath_chk(const char *filename, char *resolved, size_t resolved_len)
{
	if (resolved_len < PATH_MAX) a_crash();
	return realpath(filename, resolved);
}
debug log:

solving c2ac9f8 ...
found c2ac9f8 in https://inbox.vuxu.org/musl/20150831011011.GA2232@newbook/ ||
	https://inbox.vuxu.org/musl/20150701142106.GA1829@newbook/
found cc0089e in https://inbox.vuxu.org/musl/1434509291-28997-1-git-send-email-josiahw@gmail.com/

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


applying [2/3] https://inbox.vuxu.org/musl/20150831011011.GA2232@newbook/
diff --git a/src/compat/realpath_chk.c b/src/compat/realpath_chk.c
index cc0089e..c2ac9f8 100644

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

skipping https://inbox.vuxu.org/musl/20150701142106.GA1829@newbook/ for c2ac9f8
index at:
100644 c2ac9f87e9a2ae8504d41fcec880791e9bb6abbe	src/compat/realpath_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).