Commit Graph

575 Commits

Author SHA1 Message Date
Ladislav Zezula
df2ba2d4c1 Cosmetics 2024-11-02 09:33:39 +01:00
Ladislav Zezula
cfc6d1f535 Fixed building of DLL 2024-11-02 09:32:37 +01:00
Ladislav Zezula
2ec11ad1fd Added functions for conversions between MPQ file name <-> Safe file name 2024-11-02 09:18:37 +01:00
Ladislav Zezula
cc17c9bc5a Updated build instructions 2024-10-21 09:15:15 +02:00
Ladislav Zezula
8c7a726557 Updated build instructions 2024-10-21 09:14:16 +02:00
Ladislav Zezula
8d1d6579e7 Updated build instructions 2024-10-21 09:13:56 +02:00
Ladislav Zezula
eb6fcfb482 Updatet build instructions 2024-10-21 09:13:10 +02:00
Ladislav Zezula
4c2fa7c7fd Flushing changes 2024-08-18 16:41:30 +02:00
Ladislav Zezula
f8adad6e0b Merge pull request #356 from pionere/replength
use MAX_REP_LENGTH
2024-08-18 16:40:09 +02:00
Ladislav Zezula
cb80343e51 Merge pull request #355 from pionere/shortint
use int instead of short in FindRep
2024-08-18 16:39:51 +02:00
pionere
722f97efee use MAX_REP_LENGTH
use MAX_REP_LENGTH everywhere in implode.c + fix a typo
2024-08-18 09:43:35 +02:00
pionere
0b5d8c0989 use int instead of short in FindRep
use int instead of short to fix a (false positive) vulnerability warning.
Even though is not necessary (because the value is limited to 0x204),  the generated code seems to be better as well, because a zero-extension becomes unnecessary.
2024-08-18 09:37:53 +02:00
Ladislav Zezula
539a04e065 Merge pull request #354 from TheNitesWhoSay/master
Add STORM_UNICODE option for windows cmake builds
2024-07-25 12:27:34 +02:00
Justin F
d65f31f21a add cmake unicode option for windows builds 2024-07-24 17:54:56 -05:00
Ladislav Zezula
37000d1392 Merge pull request #352 from mgorny/gnuinstalldirs
Merging. Thank you for the contibution.
2024-06-10 14:48:50 +02:00
Michał Górny
2e1e371c0a cmake: Use GNUInstallDirs for configurable install directories
Use the standard GNUInstallDirs CMake module to provide configurable
install directories rather than hardcoding `bin`, `lib`, etc.  Most
importantly, this fixes install on modern 64-bit systems that use
`lib64` rather than `lib`.
2024-06-10 14:41:37 +02:00
Ladislav Zezula
fa129058b1 Bumped version 2024-06-09 18:49:44 +02:00
Ladislav Zezula
1efbd794e4 Bumped version to 9.26 v9.26 2024-06-09 18:39:16 +02:00
Ladislav Zezula
44362ca0a0 Merge pull request #349 from Lectem/install-cmakeconfig
Install CMake config file to allow `find_package(StormLib)`
2024-06-08 06:26:55 +02:00
Lectem
6af06eecf8 Install CMake config file to allow find_package(StormLib) and linking to StormLib::storm
Users will now be able to do:
```cmake
find_package(StormLib CONFIG REQUIRED)

target_link_libraries(SomeTarget PRIVATE StormLib::storm)
```

Note that vcpkg now relies on this CMakeLists.txt, so if this is merged and a new version is released it will make it even easier to consume the library as it automatically detects config files.
2024-06-08 01:30:55 +02:00
Ladislav Zezula
90c5928441 Added ERROR_BUFFER_OVERFLOW 2024-05-13 10:07:50 +02:00
Ladislav Zezula
3b65b373bc Merge pull request #346 from ladislav-zezula/LZ_GabeShermanFoundBugs
Fixed bugs found by Gabe Sherman
2024-04-21 22:35:07 +02:00
Ladislav Zezula
7250eca739 Regression tests complete 2024-04-21 22:33:13 +02:00
Ladislav Zezula
0f8c306a3e Fixed page fault from https://github.com/ladislav-zezula/StormLib/issues/344 2024-04-21 21:45:52 +02:00
Ladislav Zezula
4e09d09686 Fixed page fault from https://github.com/ladislav-zezula/StormLib/issues/343 2024-04-21 21:42:04 +02:00
Ladislav Zezula
b47bb8b190 Regression tests complete 2024-04-21 21:24:48 +02:00
Ladislav Zezula
5232da3f6a Fixed buffer overflow in https://github.com/ladislav-zezula/StormLib/issues/338 2024-04-21 20:30:56 +02:00
Ladislav Zezula
c4e3490d72 Added buffer overflow checks to the Sparse decompression (https://github.com/ladislav-zezula/StormLib/issues/337) 2024-04-21 20:21:38 +02:00
Ladislav Zezula
a26f04c11d Added buffer overflow checks to the Huffmann decompression (https://github.com/ladislav-zezula/StormLib/issues/336) 2024-04-21 20:15:04 +02:00
Ladislav Zezula
b35dc1e4d9 Regression tests for the first half of the bugs found by Gabe Sherman 2024-04-21 19:59:39 +02:00
Ladislav Zezula
f70bfc0eb6 Fixed division by zero in https://github.com/ladislav-zezula/StormLib/issues/335 2024-04-21 18:56:43 +02:00
Ladislav Zezula
dccc1068b0 Fixed division by zero in https://github.com/ladislav-zezula/StormLib/issues/334 2024-04-21 18:45:43 +02:00
Ladislav Zezula
355665c0ab Fixed kernelmode heap overflow (via ReadFile), described in https://github.com/ladislav-zezula/StormLib/issues/333 2024-04-21 18:40:56 +02:00
Ladislav Zezula
3643858d00 Fixed reading big files from non-corrupt MPQs 2024-04-21 18:22:59 +02:00
Ladislav Zezula
34a29066ea Fixed heap overflow in https://github.com/ladislav-zezula/StormLib/issues/331 2024-04-21 17:07:29 +02:00
Ladislav Zezula
c0d7708350 Fixed too-big-alloc in https://github.com/ladislav-zezula/StormLib/issues/329 2024-04-21 16:41:40 +02:00
Ladislav Zezula
19a8f83554 Fixed stack overflow in https://github.com/ladislav-zezula/StormLib/issues/328 2024-04-21 14:33:20 +02:00
Ladislav Zezula
86b6888f3e Fixed heap overrun in https://github.com/ladislav-zezula/StormLib/issues/327 2024-04-21 14:14:28 +02:00
Ladislav Zezula
6052223935 Merge pull request #326 from ladislav-zezula/LZ_NewProtectedMPQ
Support for new MPQ protection
2024-04-16 14:52:23 +02:00
Ladislav Zezula
7fdae1508a Removed trailing whitespaces 2024-04-16 14:49:13 +02:00
Ladislav Zezula
578885058d Removed warning 2024-04-16 14:39:12 +02:00
Ladislav Zezula
25f52b7629 Added test results for the unsupported MPQ 2024-04-16 14:26:13 +02:00
Ladislav Zezula
29901739a2 Work in progress: New MPQ protector 2024-04-15 23:30:36 +02:00
Ladislav Zezula
a8f782a2d2 Removed unnecessry file 2024-03-31 20:29:32 +02:00
Ladislav Zezula
019d3411ed Rebuilt StormLib.dll 2024-03-31 18:10:12 +02:00
Ladislav Zezula
d589102f9a Merge pull request #322 from Chaosvex/arg_fix
Thanks for the fix :-)
2024-03-23 06:39:29 +01:00
Chaosvex
fe5d5f416f Fix CompressADPCM argument order 2024-03-22 15:12:47 +00:00
Ladislav Zezula
dbe502676f + Fixed regression tests
+ Refactored udage of UNICODE characters
+ Fixed regression tests on Linux
2024-03-07 17:46:27 +01:00
Ladislav Zezula
98aff2cdec Merge pull request #320 from kelno/patch-1
Thaks for the fix (typo intended here) :-)
2024-03-01 12:31:30 +01:00
Kelno
e5fe86f941 Typo in README.md 2024-03-01 06:08:51 -05:00