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

Unified Diff: net/disk_cache/simple/simple_synchronous_entry.h

Issue 2086053003: Simple Cache: validate lengths before allocations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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
Index: net/disk_cache/simple/simple_synchronous_entry.h
diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h
index 3c939a835a5b023ffe55d35b5f3ade1298ff1465..3b37c095a690591f89a8b2a344d124e1d2e7cfc4 100644
--- a/net/disk_cache/simple/simple_synchronous_entry.h
+++ b/net/disk_cache/simple/simple_synchronous_entry.h
@@ -279,7 +279,7 @@ class SimpleSynchronousEntry {
bool* out_has_crc32,
bool* out_has_key_sha256,
uint32_t* out_crc32,
- int* out_data_size) const;
+ int32_t* out_data_size) const;
void Doom() const;
// Opens the sparse data file and scans it if it exists.

Powered by Google App Engine
This is Rietveld 408576698