diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-12-22 18:00:45 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-12-22 18:00:45 +1100 | 
| commit | dac5800933977672e8d2d67854a97a517abbe47d (patch) | |
| tree | c057a54cf4b5f01be58cc5042ee30043a2363ba6 /src/Editor.h | |
| parent | 3f4549e26cb8182fa236ea3c8a08c20a71e4da38 (diff) | |
| download | scintilla-mirror-dac5800933977672e8d2d67854a97a517abbe47d.tar.gz | |
Avoid unsafe strcpy, strncpy, and strcat replacing with safer functions which
guaranty termination where possible.
Diffstat (limited to 'src/Editor.h')
| -rw-r--r-- | src/Editor.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h index 7a8f1eb1d..c87708e92 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -632,6 +632,7 @@ protected:	// ScintillaBase subclass needs access to much of Editor  	static const char *StringFromEOLMode(int eolMode);  	static sptr_t StringResult(sptr_t lParam, const char *val); +	static sptr_t BytesResult(sptr_t lParam, const unsigned char *val, size_t len);  public:  	// Public so the COM thunks can access it.  | 
