diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-16 00:25:18 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-05-16 00:25:18 +0000 |
| commit | fd483664fc48efa80fd14fd705add9bd11f1458a (patch) | |
| tree | 51b0f27454080680af25950650be7e311c44d477 /intern.h | |
| parent | 83dd92eb207b987ef02246ae2c45d287faedae55 (diff) | |
| download | ruby-fd483664fc48efa80fd14fd705add9bd11f1458a.tar.gz ruby-fd483664fc48efa80fd14fd705add9bd11f1458a.tar.xz ruby-fd483664fc48efa80fd14fd705add9bd11f1458a.zip | |
* re.c (rb_reg_initialize): should not modify untainted objects in
safe levels higher than 3.
* re.c (rb_memcmp): type change from char* to const void*.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'intern.h')
| -rw-r--r-- | intern.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -353,9 +353,9 @@ VALUE rb_range_new _((VALUE, VALUE, int)); VALUE rb_range_beg_len _((VALUE, long*, long*, long, int)); VALUE rb_length_by_each _((VALUE)); /* re.c */ -int rb_memcmp _((char*,char*,long)); -int rb_memcicmp _((char*,char*,long)); -long rb_memsearch _((char*,long,char*,long)); +int rb_memcmp _((const void*,const void*,long)); +int rb_memcicmp _((const void*,const void*,long)); +long rb_memsearch _((const void*,long,const void*,long)); VALUE rb_reg_nth_defined _((int, VALUE)); VALUE rb_reg_nth_match _((int, VALUE)); VALUE rb_reg_last_match _((VALUE)); |
