Commit Graph

4 Commits

Author SHA1 Message Date
tsutsui 3e9910f3b8 Disable a sanity check output buffer != NULL in _STANDALONE case.
Some kernels are loaded at address 0x0 by bootloaders and
output buffer address could be zero in such case.

Fixes "read text" errors on loading install floppy of NetBSD/news68k 4.0,
reported by KIYOHARA Takashi on port-news68k.
2007-12-22 00:52:03 +00:00
christos b7c6768d3d Coverity CID 3206: Add assertion for NULL deref. 2006-05-13 22:05:04 +00:00
christos b85ba082e0 Sprinkle __UNCONST and fix some casts to make this pass WARNS=4
Note, that we cannot fix this properly because it will break the zlib.h API.
2006-01-27 00:45:27 +00:00
christos aaf4ece63a from www.zlib.net 2006-01-14 20:10:22 +00:00