mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Fix important bugs in redbean
This change upgrades to the latest Chromium Zlib, fixes bugs in redbean, and introduces better support for reverse proxies like Cloudflare. This change improves the security of redbean and it's recommended that users upgrade to the release that'll follow. This change also updates the docs to clarify how to use the security tools redbean provides e.g. pledge(), unveil(), and the MODE=asan builds which improve memory safety.
This commit is contained in:
parent
994e1f4386
commit
775944a2d0
42 changed files with 8148 additions and 7298 deletions
5
third_party/zlib/zconf.h
vendored
5
third_party/zlib/zconf.h
vendored
|
@ -14,7 +14,7 @@
|
|||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
|
||||
typedef unsigned char Byte;
|
||||
typedef unsigned long uInt; /* 16 bits or more */
|
||||
typedef unsigned int uInt; /* 16 bits or more */
|
||||
typedef unsigned long uLong; /* 32 bits or more */
|
||||
typedef Byte Bytef;
|
||||
typedef char charf;
|
||||
|
@ -24,6 +24,9 @@ typedef uLong uLongf;
|
|||
typedef void const *voidpc;
|
||||
typedef void *voidpf;
|
||||
typedef void *voidp;
|
||||
typedef uint32_t z_crc_t;
|
||||
typedef int64_t z_off64_t;
|
||||
typedef size_t z_size_t;
|
||||
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_THIRD_PARTY_ZLIB_ZCONF_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue