summaryrefslogtreecommitdiff
path: root/core/include/fxcrt/fx_safe_types.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-02-19 14:41:46 -0800
committerTom Sepez <tsepez@chromium.org>2016-02-19 14:41:46 -0800
commit052a8d963af8bb186b956057763021624332c7a8 (patch)
tree280c161a4970231eff2496f57aa8445b6c2d5405 /core/include/fxcrt/fx_safe_types.h
parentffc26c26f0ab004fbdb05195e1686d7f33983b06 (diff)
downloadpdfium-052a8d963af8bb186b956057763021624332c7a8.tar.xz
Revert "Revert "Use safe arithmentic in CFX_BinaryBuf::ExpandBuf.""
This relands the CL at https://codereview.chromium.org/1710403002 Tests passed locally. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1717603003 .
Diffstat (limited to 'core/include/fxcrt/fx_safe_types.h')
-rw-r--r--core/include/fxcrt/fx_safe_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/include/fxcrt/fx_safe_types.h b/core/include/fxcrt/fx_safe_types.h
index aec1ca7e96..6ae3ee1054 100644
--- a/core/include/fxcrt/fx_safe_types.h
+++ b/core/include/fxcrt/fx_safe_types.h
@@ -15,5 +15,6 @@ typedef pdfium::base::CheckedNumeric<FX_DWORD> FX_SAFE_DWORD;
typedef pdfium::base::CheckedNumeric<int32_t> FX_SAFE_INT32;
typedef pdfium::base::CheckedNumeric<size_t> FX_SAFE_SIZE_T;
typedef pdfium::base::CheckedNumeric<FX_FILESIZE> FX_SAFE_FILESIZE;
+typedef pdfium::base::CheckedNumeric<FX_STRSIZE> FX_SAFE_STRSIZE;
#endif // CORE_INCLUDE_FXCRT_FX_SAFE_TYPES_H_