Skip to content

Commit

Permalink
fix(examples) Make client_access_control_encrypt.c clang-analyzer clean
Browse files Browse the repository at this point in the history
  • Loading branch information
jpfr committed Feb 28, 2021
1 parent 81357e7 commit 9de78b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main(int argc, char* argv[]) {
size_t trustListSize = 0;
if(argc > MIN_ARGS)
trustListSize = (size_t)argc-MIN_ARGS;
UA_STACKARRAY(UA_ByteString, trustList, trustListSize);
UA_STACKARRAY(UA_ByteString, trustList, trustListSize+1);
for(size_t trustListCount = 0; trustListCount < trustListSize; trustListCount++)
trustList[trustListCount] = loadFile(argv[trustListCount+4]);

Expand Down

0 comments on commit 9de78b6

Please sign in to comment.