]> mj.ucw.cz Git - libucw.git/commit
- low-level safe version of lizard_decompress() put into an extra source file
authorRobert Spalek <robert@ucw.cz>
Tue, 15 Jun 2004 09:16:13 +0000 (09:16 +0000)
committerRobert Spalek <robert@ucw.cz>
Tue, 15 Jun 2004 09:16:13 +0000 (09:16 +0000)
commit159f3fd2f4b044788fc71208855ed1a846b20949
tree4c7b5fb5613342d8ccdc8a4edfcb0d0a4277be04
parent689fce307911b4cebac8114c122bc5149c8d3766
- low-level safe version of lizard_decompress() put into an extra source file

- use M_PRIVATE instead of M_SHARED
- use PROT_NONE instead of PROT_READ and only set/clear it for one page
  before/after the operation instead of doing it for all the array
- errno is set instead of returning different negative values
- use longjmp in the signal handler instead of die() and return -1
- use macro ALIGN()
lib/lizard-safe.c [new file with mode: 0644]