Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
${{matrix.platform.msys-env}}-zlib

- name: Configure CMake
run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -DBUILD_STATIC=${{matrix.build-static}} -DBUILD_TESTING=ON
run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -DBUILD_STATIC=${{matrix.build-static}} -DBUILD_TESTING=ON -DCMAKE_C_FLAGS="-Wall"

- name: Build
run: cmake --build build
Expand Down
4 changes: 2 additions & 2 deletions lib/helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,9 @@ static const char* unshield_utf16_to_utf8(Header* header, const uint16_t* utf16)
int length = unshield_strlen_utf16(utf16);
int buffer_size = 3 * length + 1;
char* target = string_buffer->string = NEW(char, buffer_size);
size_t result = utf16_to_utf8(
utf16_to_utf8(
utf16, length + 1,
target, buffer_size);
(utf8_t*)target, buffer_size);
return string_buffer->string;
}

Expand Down
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ if(APPLE)
else()
add_subdirectory(v5/CVE-2015-1386)
endif()
add_subdirectory(v5/stack_memory_file)
#add_subdirectory(v5/stack_memory_file)