Index: src/trusted/validator_ragel/dfa_validate_32.c |
diff --git a/src/trusted/validator_ragel/dfa_validate_32.c b/src/trusted/validator_ragel/dfa_validate_32.c |
index bdbe510a5745417d872ceb43a56ff5b50317dd13..6b06167e8d32b9b82f877dd18ca1a6810b19776b 100644 |
--- a/src/trusted/validator_ragel/dfa_validate_32.c |
+++ b/src/trusted/validator_ragel/dfa_validate_32.c |
@@ -40,8 +40,12 @@ NaClValidationStatus ApplyDfaValidator_x86_32( |
enum NaClValidationStatus status = NaClValidationFailed; |
void *query = NULL; |
struct StubOutCallbackData callback_data; |
+ |
callback_data.flags = flags; |
callback_data.did_rewrite = 0; |
+ callback_data.chunk_processed_as_a_contiguous_stream = 0; |
+ callback_data.bundle_begin_offset = (intptr_t) data & kBundleMask; |
+ callback_data.cpu_features = cpu_features; |
UNREFERENCED_PARAMETER(guest_addr); |
if (stubout_mode) |
@@ -79,6 +83,7 @@ NaClValidationStatus ApplyDfaValidator_x86_32( |
&callback_data)) |
status = NaClValidationSucceeded; |
} |
+ |
if (status != NaClValidationSucceeded && errno == ENOMEM) |
status = NaClValidationFailedOutOfMemory; |