200 Commits

Author SHA1 Message Date
Ladislav Zezula
f32cb611a4 Fixed use-after-free scenarios 2026-01-09 21:46:59 +01:00
Ladislav Zezula
824f38907c Fixing Use After Free bugs 2026-01-09 07:55:45 +01:00
Ladislav Zezula
87474f5fc5 Got rid of '#define bool char' 2025-11-24 08:47:07 +01:00
Ladislav Zezula
2aa6216c65 Creating a new release 2025-11-22 09:03:42 +01:00
Ladislav Zezula
7a5ff0a00f Added Legion TD map to the tests 2025-10-26 10:14:19 +01:00
Ladislav Zezula
07559b3220 Fixed opening of Warcraft III maps that don't have W3M header 2025-10-25 09:01:18 +02:00
Ladislav Zezula
b62de3c83f Fixed issue #400 2025-10-11 09:07:22 +02:00
Ladislav Zezula
49b619bae2 Fixed https://github.com/ladislav-zezula/StormLib/issues/397 and https://github.com/ladislav-zezula/StormLib/issues/398 2025-09-15 15:09:30 +02:00
Ladislav Zezula
519927d280 Suppress the default error messages from AlsaLib 2025-08-18 21:08:37 +02:00
Ladislav Zezula
db410fd564 Fixed renaming files vs file locale 2025-08-06 09:34:58 +02:00
Ladislav Zezula
486a7dd29f Replaced GetLastError with SErrGetLastError 2025-07-03 09:27:16 +02:00
Ladislav Zezula
d9af787697 Cosmetics 2025-06-03 10:29:52 +02:00
Ladislav Zezula
630de2ee19 Fixed bug in test program that caused bad cosmetic effects during log print 2025-06-02 20:28:39 +02:00
Ladislav Zezula
0ce73c5b46 Fixed 2025-05-30 20:39:34 +02:00
Ladislav Zezula
7acd704ad0 Merge pull request #382 from cen1/feature/ci
CMake modernization, basic CI, release artefacts, readme
2025-05-26 20:22:44 +02:00
cen1
4b38800ab7 - modernize CMake by adding target_ where missing, split add_library and sources (target_sources), some reordering
- make tests it's own CMake project
- add CMake option to override hardcoded test data paths
- improve CMake documentation, document all options
- add basic CI build for Debian, Fedora and Windows
- add release pipeline to create .deb, .rpm and Windows li/dll archives
2025-05-25 19:42:45 +02:00
Ladislav Zezula
c6d89095fc Fixed wrong state in SFileAddFile 2025-04-28 13:55:45 +02:00
Ladislav Zezula
a50eaacb13 Fixed bug in verifying signatures on MPQs version 2 2025-04-24 11:43:27 +02:00
Ladislav Zezula
c9620d7824 Fixed more bugs from POCs 2025-04-22 22:40:25 +02:00
Ladislav Zezula
4f4e2154cd Added check for loading CRC table 2025-04-20 21:16:05 +02:00
Ladislav Zezula
626c49312d Minors 2025-02-26 20:56:05 +01:00
Ladislav Zezula
445f48d0d9 Full support of printing UTF-8 characters to Windows console 2024-12-04 10:54:48 +01:00
Ladislav Zezula
d1bf5e1c71 Changed behavior of patched files with MPQ_FLAG_DELETE_MARKER 2024-12-04 09:16:28 +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
eb6fcfb482 Updatet build instructions 2024-10-21 09:13:10 +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
86b6888f3e Fixed heap overrun in https://github.com/ladislav-zezula/StormLib/issues/327 2024-04-21 14:14:28 +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
019d3411ed Rebuilt StormLib.dll 2024-03-31 18:10:12 +02: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
d13270a686 The flag MPQ_OPEN_NO_LISTFILE is now propagated by SFileOpenPatchArchive 2024-02-11 09:46:30 +01:00
Ladislav Zezula
909ff807e7 Regression tests passed 2023-12-30 08:59:09 +01:00
Ladislav Zezula
2e38824099 Improved retrieving the hash entry index 2023-12-27 20:25:21 +01:00
Ladislav Zezula
2b50c079cb Minors 2023-12-21 22:36:45 +01:00
Ladislav Zezula
47e5e0aced Fixed https://github.com/ladislav-zezula/StormLib/issues/311 2023-12-21 22:35:08 +01:00
Ladislav Zezula
0d89b2b473 Fixed bug in SFileSetFileLocale 2023-10-06 06:38:05 +02:00