Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseAaronLopezGarcia committed Jul 13, 2023
1 parent e6162ec commit 2338f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/systemctrl/src/sctrl_se.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ SEConfig* sctrlSEGetConfig(SEConfig *config)
SEConfig* sctrlSEGetConfigEx(SEConfig *config, int size)
{
if (config && size){
if (size > sizeof(SEConfig)){
if (size != sizeof(SEConfig)){
memset(config, 0, size); // can't process structure
}
else{
Expand Down

0 comments on commit 2338f6d

Please sign in to comment.