Fix redbean inappropriately linking ASAN

Fixes #188
This commit is contained in:
Justine Tunney 2021-06-10 07:51:53 -07:00
parent 248c6d54bb
commit eb08b9fbeb

View file

@ -31,7 +31,6 @@
#include "libc/errno.h"
#include "libc/fmt/conv.h"
#include "libc/fmt/itoa.h"
#include "libc/intrin/asan.internal.h"
#include "libc/log/check.h"
#include "libc/log/log.h"
#include "libc/math.h"
@ -2317,7 +2316,6 @@ int LuaStoreAsset(lua_State *L) {
unreachable;
}
path = LuaCheckPath(L, 1, &pathlen);
DCHECK(__asan_is_valid(path, pathlen));
if (pathlen > 0xffff) {
luaL_argerror(L, 1, "path too long");
unreachable;