Skip to content

Commit

Permalink
Fixed uninitialized value.
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Novak committed Dec 6, 2014
1 parent f676c48 commit 547054a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/shadow/shadow_subsystem.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,11 +93,11 @@ int shadow_subsystem_load_entry_points(RDP_SHADOW_ENTRY_POINTS* pEntryPoints, co

entry = shadow_subsystem_load_static_entry(name);

ZeroMemory(pEntryPoints, sizeof(RDP_SHADOW_ENTRY_POINTS));

if (!entry)
return -1;

ZeroMemory(pEntryPoints, sizeof(RDP_SHADOW_ENTRY_POINTS));

if (entry(pEntryPoints) < 0)
return -1;

Expand Down

0 comments on commit 547054a

Please sign in to comment.