Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: runtime/bin/directory.cc

Issue 10408060: Fuzzing of dart:io Directory API. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/directory_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/directory.cc
diff --git a/runtime/bin/directory.cc b/runtime/bin/directory.cc
index 8b1e57c31a0b3bfaaa32aa6594c870b952d64040..c85d181ae5eb04a584a9046f77c2a0a93283a5bb 100644
--- a/runtime/bin/directory.cc
+++ b/runtime/bin/directory.cc
@@ -187,7 +187,7 @@ static CObject* DirectoryListRequest(const CObjectArray& request,
CObjectArray* response = new CObjectArray(CObject::NewArray(3));
response->SetAt(0, new CObjectInt32(
CObject::NewInt32(DirectoryListing::kListError)));
- response->SetAt(1, request[1]);
+ response->SetAt(1, CObject::Null());
response->SetAt(2, CObject::IllegalArgumentError());
Dart_PostCObject(response_port, response->AsApiCObject());
« no previous file with comments | « no previous file | runtime/bin/directory_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698