Skip to content

Commit

Permalink
Don't crash on a NULL type-name from ObjectTypeInformation.
Browse files Browse the repository at this point in the history
BUG=93449
TEST=None.
Review URL: http://codereview.chromium.org/7714003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97934 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
jschuh@chromium.org committed Aug 23, 2011
1 parent 130e81c commit 691f832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandbox/src/handle_closer_agent.cc
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ bool HandleCloserAgent::CloseHandles() {
if (NT_SUCCESS(0) && size == type_info_buffer.size())
rc = STATUS_INFO_LENGTH_MISMATCH;
}
if (!NT_SUCCESS(rc)) {
if (!NT_SUCCESS(rc) || !type_info->Name.Buffer) {
++invalid_count;
continue;
}
Expand Down

0 comments on commit 691f832

Please sign in to comment.