blob: fa3b59a1c844a875c8783f8a2a0b6d67346892bc [file] [log] [blame]
Name: UnRAR source for decompressing .RAR and other files.
Short Name: unrar
Revision: 0ff832d31470471803b175cfff4e40c1b08ee779
License: Non-standard
License File: src/license.txt
Security Critical: yes
This library is used to decompress and analyze .RAR and other related files that
have been downloaded by the user to check their Safe Browsing reputation. It is
only for Chromium on desktop.
Please note that changes have been made to this library to terminate the current
process in which this library is running, when it encounters some error
conditions. This is acceptable for Chromium because the library executes inside
a sandbox, but may not apply more broadly.
Notable changes from upstream:
- Use CHROMIUM_UNRAR macro to guard Chromium-specific changes.
- Rewrite WinNT() in isnt.cpp to use the new Windows APIs.
- Explicit use of parentheses to fix linter errors.
- Replace exceptions with terminating the current process. Guarded with the
- Pass a file handle to the rar file, instead of trying to open the rar file
inside the unrar library code. This is done because the unrar library code
operates inside a sandbox, so it doesn't have the permissions to open files.
- Remove some static initializers.