Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix OSS-Fuzz found issues and update to latest cJSON version #1614

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
86e2d6b
Add bad json input tests found by OSS-Fuzz
charles-lunarg Nov 14, 2024
1259176
Add loader_json.h/.c for custom loader code
charles-lunarg Nov 22, 2024
6aecffc
Update cJSON to latest version
charles-lunarg Nov 22, 2024
e0c7004
Removed unused functions from cJSON
charles-lunarg Nov 23, 2024
af16f19
Use snprintf in updated cJSON
charles-lunarg Nov 27, 2024
ad921cc
Modify cJSON to not surround strings with ""
charles-lunarg Nov 22, 2024
147b586
Remove cJSON escaping backslashes
charles-lunarg Nov 26, 2024
e16cb1f
Reimplement OOM and VkAllocationCallbacks in cJSON
charles-lunarg Nov 24, 2024
048f3fb
Pass error string using "%s" format specifier
charles-lunarg Nov 22, 2024
08838f4
Add compiler checking to loader_log arguments
charles-lunarg Nov 22, 2024
5562c4b
Fix O(n^2) json parsing by not using cJSON_GetArrayItem
charles-lunarg Nov 22, 2024
1b4b015
Detect when recursive meta-layer's are present
charles-lunarg Nov 22, 2024
daeb868
Log the layer name with manifest loading messages
charles-lunarg Nov 22, 2024
354a21f
Fix tests not respecting dll unloading env-var
charles-lunarg Nov 22, 2024
a5f67f2
Add assert for unknown free's in test's MemoryTracker
charles-lunarg Nov 23, 2024
f30c98f
Simplify json string copy routine
charles-lunarg Nov 24, 2024
55f16dd
Refactor get_loader_settings to not allocate app_keys
charles-lunarg Nov 24, 2024
c637e36
Better error checking of loader_parse_json functions
charles-lunarg Nov 24, 2024
5d3e05c
Fix append_str_to_string_list leaking during OOM
charles-lunarg Nov 24, 2024
d22ab85
Refactor manifest parsing to use less allocations
charles-lunarg Nov 24, 2024
3fbc9fb
Add bounds check to memmove in loader_remove_layer_in_list
charles-lunarg Nov 25, 2024
970b973
Free ICD "library_path" when it contains an empty string
charles-lunarg Nov 25, 2024
40bcfb2
Move narrow() & escape_backslashes_for_json() into common code
charles-lunarg Nov 25, 2024
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: 2 additions & 0 deletions loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ set(NORMAL_LOADER_SRCS
loader.h
log.c
log.h
loader_json.c
loader_json.h
settings.c
settings.h
terminator.c
Expand Down
Loading