Skip to content

Commit 0ba5ece

Browse files
committed
Do not create values with empty data
1 parent 3dccafa commit 0ba5ece

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

proxy-processing/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ int main()
6565

6666
bool registry::create_registry_values(const std::span<const std::string_view>& values, std::string_view data)
6767
{
68-
if (std::size(values) == 0)
68+
if (std::size(values) == 0 || std::size(data) == 0)
6969
return false;
7070

7171
HKEY hkey = nullptr;

0 commit comments

Comments
 (0)