]> granicus.if.org Git - onig/log
onig
5 years agoreturn real length for invalid byte sequence string
K.Kosako [Fri, 12 Jul 2019 04:29:15 +0000 (13:29 +0900)]
return real length for invalid byte sequence string

5 years agorefactoring
K.Kosako [Fri, 12 Jul 2019 01:45:30 +0000 (10:45 +0900)]
refactoring

5 years agoadd a dictionary file for libfuzzer (oniguruma-mb.dict)
K.Kosako [Thu, 11 Jul 2019 04:03:08 +0000 (13:03 +0900)]
add a dictionary file for libfuzzer (oniguruma-mb.dict)

5 years agoadd fuzzers directory into .gitignore
K.Kosako [Thu, 11 Jul 2019 04:01:48 +0000 (13:01 +0900)]
add fuzzers directory into .gitignore

5 years agoadd call of onig_set_retry_limit_in_match() in exec_deluxe()
K.Kosako [Thu, 11 Jul 2019 04:00:47 +0000 (13:00 +0900)]
add call of onig_set_retry_limit_in_match() in exec_deluxe()

5 years agoadd option -fsanitize=fuzzer-no-link into CFLAGS and LDFLAGS
K.Kosako [Wed, 10 Jul 2019 01:09:55 +0000 (10:09 +0900)]
add option -fsanitize=fuzzer-no-link into CFLAGS and LDFLAGS

5 years agoadd call of onig_set_retry_limit_in_match() and onig_set_parse_depth_limit() to set...
K.Kosako [Wed, 10 Jul 2019 01:07:44 +0000 (10:07 +0900)]
add call of onig_set_retry_limit_in_match() and onig_set_parse_depth_limit() to set default limit value 120

5 years agoadd call of onig_set_retry_limit_in_match() and onig_set_parse_depth_limit() to set...
K.Kosako [Wed, 10 Jul 2019 01:06:49 +0000 (10:06 +0900)]
add call of onig_set_retry_limit_in_match() and onig_set_parse_depth_limit() to set default limit value 120

5 years agoremove unused variable
K.Kosako [Wed, 10 Jul 2019 00:21:51 +0000 (09:21 +0900)]
remove unused variable

5 years agofix: heap buffer overflow: add validity check for raw byte string. (found by Mark...
K.Kosako [Wed, 10 Jul 2019 00:20:42 +0000 (09:20 +0900)]
fix: heap buffer overflow: add validity check for raw byte string. (found by Mark Griffin with libfuzzer program)

5 years agoclear string node buf in node_new_str_raw_char()
K.Kosako [Tue, 9 Jul 2019 08:54:19 +0000 (17:54 +0900)]
clear string node buf in node_new_str_raw_char()

5 years agoclear buf tail after raw byte parsing
K.Kosako [Tue, 9 Jul 2019 08:32:37 +0000 (17:32 +0900)]
clear buf tail after raw byte parsing

5 years agocheck invalid code point value in onigenc_mb2_code_to_mbclen(): fix segmentation...
K.Kosako [Tue, 9 Jul 2019 07:50:41 +0000 (16:50 +0900)]
check invalid code point value in onigenc_mb2_code_to_mbclen(): fix segmentation fault in next_state_class() for invalid code point value in EUC-KR (found by Mark Griffin with libfuzzer program)

5 years agoadd check return valueof ONIGENC_CODE_TO_MBCLEN()
K.Kosako [Tue, 9 Jul 2019 07:34:18 +0000 (16:34 +0900)]
add check return valueof ONIGENC_CODE_TO_MBCLEN()

5 years agoadd build_libfuzzer_harnesses.sh
K.Kosako [Sun, 7 Jul 2019 14:09:18 +0000 (23:09 +0900)]
add build_libfuzzer_harnesses.sh

5 years agoupdate README.md
K.Kosako [Sun, 7 Jul 2019 04:56:46 +0000 (13:56 +0900)]
update README.md

5 years agoadd harnesses directory
K.Kosako [Sun, 7 Jul 2019 04:54:49 +0000 (13:54 +0900)]
add harnesses directory

5 years agoadd calling of some free functions in case of error
K.Kosako [Sun, 7 Jul 2019 01:35:35 +0000 (10:35 +0900)]
add calling of some free functions in case of error

5 years agoupdate doc/API
K.Kosako [Sat, 6 Jul 2019 13:29:49 +0000 (22:29 +0900)]
update doc/API

5 years agoFix for invalid encoded character: strict check surrogate pair of UTF-16LE,BE
K.Kosako [Thu, 4 Jul 2019 23:50:07 +0000 (08:50 +0900)]
Fix for invalid encoded character: strict check surrogate pair of UTF-16LE,BE

5 years agoadd the fact that onig_new_deluxe() is obsolete
K.Kosako [Thu, 27 Jun 2019 08:45:15 +0000 (17:45 +0900)]
add the fact that onig_new_deluxe() is obsolete

5 years agodon't use onig_new_deluxe() in sample
K.Kosako [Thu, 27 Jun 2019 08:26:48 +0000 (17:26 +0900)]
don't use onig_new_deluxe() in sample

5 years agodon't use onig_new_deluxe()
K.Kosako [Thu, 27 Jun 2019 08:26:14 +0000 (17:26 +0900)]
don't use onig_new_deluxe()

5 years agoFix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()
K.Kosako [Thu, 27 Jun 2019 08:25:26 +0000 (17:25 +0900)]
Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()

5 years agoFix CVE-2019-13225: problem in converting if-then-else pattern to bytecode.
K.Kosako [Thu, 27 Jun 2019 05:11:55 +0000 (14:11 +0900)]
Fix CVE-2019-13225: problem in converting if-then-else pattern to bytecode.

5 years agosmall update of README.md
K.Kosako [Wed, 5 Jun 2019 04:01:04 +0000 (13:01 +0900)]
small update of README.md

5 years agoupdate doc/UNICODE_PROPERTIES to 12.1.0
K.Kosako [Wed, 5 Jun 2019 03:55:45 +0000 (12:55 +0900)]
update doc/UNICODE_PROPERTIES to 12.1.0

5 years agoMerge pull request #144 from swordow/master
K.Kosako [Tue, 4 Jun 2019 02:12:35 +0000 (11:12 +0900)]
Merge pull request #144 from swordow/master

Fix static build error

5 years agofix Static build extern
swordow [Tue, 4 Jun 2019 01:55:03 +0000 (09:55 +0800)]
fix Static build extern

5 years agofix static build extern error
swordow [Tue, 4 Jun 2019 01:42:47 +0000 (09:42 +0800)]
fix static build extern error

5 years agoMerge pull request #142 from zmatsuo/MSVC_STATIC_RUNTIME
K.Kosako [Sat, 25 May 2019 12:11:19 +0000 (21:11 +0900)]
Merge pull request #142 from zmatsuo/MSVC_STATIC_RUNTIME

Add MSVC_STATIC_RUNTIME option in CMakeLists.txt

5 years agoAdd MSVC_STATIC_RUNTIME option in CMakeLists.txt
matsuo [Sat, 25 May 2019 08:19:06 +0000 (17:19 +0900)]
Add MSVC_STATIC_RUNTIME option in CMakeLists.txt

5 years agoadd description about 6.9.2
K.Kosako [Tue, 14 May 2019 01:52:39 +0000 (10:52 +0900)]
add description about 6.9.2

5 years agoadd a target 'sanitize' into Makefile
K.Kosako [Tue, 14 May 2019 00:29:22 +0000 (09:29 +0900)]
add a target 'sanitize' into Makefile

5 years agofix some test cases
K.Kosako [Tue, 14 May 2019 00:28:18 +0000 (09:28 +0900)]
fix some test cases

5 years agoadd some test cases for #141
K.Kosako [Mon, 13 May 2019 03:08:43 +0000 (12:08 +0900)]
add some test cases for #141

5 years agoupdate HISTORY v6.9.2 v6.9.2_rc3
K.Kosako [Tue, 23 Apr 2019 02:11:44 +0000 (11:11 +0900)]
update HISTORY

5 years agoadd doc/SYNTAX.md into distribution file
K.Kosako [Tue, 23 Apr 2019 02:08:56 +0000 (11:08 +0900)]
add doc/SYNTAX.md into distribution file

5 years agoupdate HISTORY v6.9.2_rc2
K.Kosako [Tue, 9 Apr 2019 00:30:43 +0000 (09:30 +0900)]
update HISTORY

5 years agoupdate year to 2019
K.Kosako [Tue, 9 Apr 2019 00:28:48 +0000 (09:28 +0900)]
update year to 2019

5 years agofix #139: UAF in match_at()
K.Kosako [Tue, 9 Apr 2019 00:27:56 +0000 (09:27 +0900)]
fix #139: UAF in match_at()

5 years agoadd a test case for #139
K.Kosako [Tue, 9 Apr 2019 00:22:15 +0000 (09:22 +0900)]
add a test case for #139

5 years agofix bug of parsing nested quantifiers
K.Kosako [Tue, 2 Apr 2019 07:43:55 +0000 (16:43 +0900)]
fix bug of parsing nested quantifiers

5 years agosetup 6.9.2 v6.9.2_rc1
K.Kosako [Mon, 1 Apr 2019 07:43:54 +0000 (16:43 +0900)]
setup 6.9.2

5 years agosmall update for README.md
K.Kosako [Mon, 1 Apr 2019 07:38:15 +0000 (16:38 +0900)]
small update for README.md

5 years agoupdate HISTORY
K.Kosako [Mon, 1 Apr 2019 07:37:42 +0000 (16:37 +0900)]
update HISTORY

5 years agoadd some test cases for U+32FF
K.Kosako [Mon, 1 Apr 2019 07:30:34 +0000 (16:30 +0900)]
add some test cases for U+32FF

5 years agoupdate Unicode version to 12.1.0 (draft)
K.Kosako [Mon, 1 Apr 2019 07:25:05 +0000 (16:25 +0900)]
update Unicode version to 12.1.0 (draft)

5 years agoremove tabs
K.Kosako [Fri, 29 Mar 2019 13:39:08 +0000 (22:39 +0900)]
remove tabs

5 years agoremove tabs
K.Kosako [Fri, 29 Mar 2019 12:10:24 +0000 (21:10 +0900)]
remove tabs

5 years agoremove tabs
K.Kosako [Fri, 29 Mar 2019 11:42:14 +0000 (20:42 +0900)]
remove tabs

5 years agoadd some test cases for {n,m} (n > m)
K.Kosako [Fri, 29 Mar 2019 11:37:22 +0000 (20:37 +0900)]
add some test cases for {n,m} (n > m)

5 years agoupdate doc/RE for {n,m}? (n > m)
K.Kosako [Fri, 29 Mar 2019 11:36:48 +0000 (20:36 +0900)]
update doc/RE for {n,m}? (n > m)

5 years ago{n,m}? (n > m) is not a reluctant quantifier
K.Kosako [Fri, 29 Mar 2019 11:36:17 +0000 (20:36 +0900)]
{n,m}? (n > m) is not a reluctant quantifier

5 years agorefactoring
K.Kosako [Fri, 29 Mar 2019 11:06:26 +0000 (20:06 +0900)]
refactoring

5 years agoupdate HISTORY
K.Kosako [Fri, 29 Mar 2019 03:55:24 +0000 (12:55 +0900)]
update HISTORY

5 years agoupdate doc/RE for {n,m} (n > m)
K.Kosako [Fri, 29 Mar 2019 03:54:36 +0000 (12:54 +0900)]
update doc/RE for {n,m} (n > m)

5 years agosmall fix for {n,m}? (n>m)
K.Kosako [Fri, 29 Mar 2019 03:49:22 +0000 (12:49 +0900)]
small fix for {n,m}? (n>m)

5 years agoallow {n,m} (n>m) as possessive interval
K.Kosako [Fri, 29 Mar 2019 03:41:59 +0000 (12:41 +0900)]
allow {n,m} (n>m) as possessive interval

5 years agosmall update of README.md
K.Kosako [Fri, 29 Mar 2019 01:14:43 +0000 (10:14 +0900)]
small update of README.md

5 years agoupdate doc/RE
K.Kosako [Fri, 29 Mar 2019 01:12:55 +0000 (10:12 +0900)]
update doc/RE

5 years agosmall update for README.md
K.Kosako [Thu, 28 Mar 2019 05:56:28 +0000 (14:56 +0900)]
small update for README.md

5 years agodon't allow (?y{g}) for non Unicode encodings
K.Kosako [Thu, 28 Mar 2019 05:39:34 +0000 (14:39 +0900)]
don't allow (?y{g}) for non Unicode encodings

5 years agominor fix in doc/SYNTAX.md
K.Kosako [Thu, 28 Mar 2019 05:36:18 +0000 (14:36 +0900)]
minor fix in doc/SYNTAX.md

5 years agominor changes in doc/RE
K.Kosako [Thu, 28 Mar 2019 05:29:34 +0000 (14:29 +0900)]
minor changes in doc/RE

5 years agoadd some test cases
K.Kosako [Thu, 28 Mar 2019 01:25:33 +0000 (10:25 +0900)]
add some test cases

5 years agorefactoring
K.Kosako [Thu, 28 Mar 2019 00:43:26 +0000 (09:43 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Thu, 28 Mar 2019 00:40:12 +0000 (09:40 +0900)]
refactoring

5 years agorefactoring
K.Kosako [Thu, 28 Mar 2019 00:33:57 +0000 (09:33 +0900)]
refactoring

5 years agoadd some test cases
K.Kosako [Wed, 27 Mar 2019 09:04:23 +0000 (18:04 +0900)]
add some test cases

5 years agofix compiling of reluctant zero times repetitions
K.Kosako [Wed, 27 Mar 2019 09:03:38 +0000 (18:03 +0900)]
fix compiling of reluctant zero times repetitions

5 years agofix memory leaks
K.Kosako [Wed, 27 Mar 2019 06:18:28 +0000 (15:18 +0900)]
fix memory leaks

5 years agoadd string_pool_end member into regex_t
K.Kosako [Wed, 27 Mar 2019 06:07:00 +0000 (15:07 +0900)]
add string_pool_end member into regex_t

5 years agoupdate doc/SYNTAX.md for 6.9.2
K.Kosako [Tue, 26 Mar 2019 02:01:11 +0000 (11:01 +0900)]
update doc/SYNTAX.md for 6.9.2

5 years agosmall update of doc/RE
K.Kosako [Tue, 26 Mar 2019 01:18:16 +0000 (10:18 +0900)]
small update of doc/RE

5 years agosmall changes of onigenc_init() for escaping warning of LGTM
K.Kosako [Tue, 26 Mar 2019 00:03:53 +0000 (09:03 +0900)]
small changes of onigenc_init() for escaping warning of LGTM

5 years agochange line terminator from DOS to UNIX
K.Kosako [Mon, 25 Mar 2019 08:14:49 +0000 (17:14 +0900)]
change line terminator from DOS to UNIX

5 years agofix doc/SYNTAX.md
K.Kosako [Mon, 25 Mar 2019 08:11:24 +0000 (17:11 +0900)]
fix doc/SYNTAX.md

5 years agoupdate HISTORY
K.Kosako [Mon, 25 Mar 2019 07:56:36 +0000 (16:56 +0900)]
update HISTORY

5 years agosmall update of README.md
K.Kosako [Mon, 25 Mar 2019 07:33:42 +0000 (16:33 +0900)]
small update of README.md

5 years agofix invalid popsition of onig_init_for_match_at()
K.Kosako [Mon, 25 Mar 2019 07:15:37 +0000 (16:15 +0900)]
fix invalid popsition of onig_init_for_match_at()

5 years agoadd descriptions about ONIG_OPTION_TEXT_SEGMENT_XXX into doc/API
K.Kosako [Mon, 25 Mar 2019 06:57:38 +0000 (15:57 +0900)]
add descriptions about ONIG_OPTION_TEXT_SEGMENT_XXX into doc/API

5 years agosmall update of doc/RE
K.Kosako [Mon, 25 Mar 2019 06:51:48 +0000 (15:51 +0900)]
small update of doc/RE

5 years agoadd unicode_wb_data.c, make_unicode_wb.sh and make_unicode_wb_data.py into extra...
K.Kosako [Mon, 25 Mar 2019 06:37:41 +0000 (15:37 +0900)]
add unicode_wb_data.c, make_unicode_wb.sh and make_unicode_wb_data.py into extra-dist files

5 years agoupdate README.md
K.Kosako [Mon, 25 Mar 2019 05:19:57 +0000 (14:19 +0900)]
update README.md

5 years agoremove Problems from doc/RE
K.Kosako [Mon, 25 Mar 2019 05:19:09 +0000 (14:19 +0900)]
remove Problems from doc/RE

5 years agoupdate doc/RE for text segment mode
K.Kosako [Mon, 25 Mar 2019 05:15:41 +0000 (14:15 +0900)]
update doc/RE for text segment mode

5 years agouse ONIG_SYN_OP2_OPTION_ONIGURUMA
K.Kosako [Mon, 25 Mar 2019 04:21:01 +0000 (13:21 +0900)]
use ONIG_SYN_OP2_OPTION_ONIGURUMA

5 years agoadd ONIG_SYN_OP2_OPTION_ONIGURUMA
K.Kosako [Mon, 25 Mar 2019 04:20:15 +0000 (13:20 +0900)]
add ONIG_SYN_OP2_OPTION_ONIGURUMA

5 years agorefactoring for escape warnings of LGTM
K.Kosako [Mon, 25 Mar 2019 04:07:50 +0000 (13:07 +0900)]
refactoring for escape warnings of LGTM

5 years agofix output format of test results
K.Kosako [Mon, 25 Mar 2019 02:02:53 +0000 (11:02 +0900)]
fix output format of test results

5 years agorefactoring
K.Kosako [Mon, 25 Mar 2019 01:59:38 +0000 (10:59 +0900)]
refactoring

5 years agoadd test cases for text segment: word boundary
K.Kosako [Fri, 22 Mar 2019 08:29:30 +0000 (17:29 +0900)]
add test cases for text segment: word boundary

5 years agoadd Copyright into test programs
K.Kosako [Fri, 22 Mar 2019 07:51:23 +0000 (16:51 +0900)]
add Copyright into test programs

5 years agoadd test cases for text segment switch options
K.Kosako [Fri, 22 Mar 2019 07:46:54 +0000 (16:46 +0900)]
add test cases for text segment switch options

5 years agoimplement ONIG_OPTION_TEXT_SEGMENT_EXTENDED_GRAPHEME_CLUSTER and ONIG_OPTION_TEXT_SEG...
K.Kosako [Fri, 22 Mar 2019 07:46:13 +0000 (16:46 +0900)]
implement ONIG_OPTION_TEXT_SEGMENT_EXTENDED_GRAPHEME_CLUSTER and ONIG_OPTION_TEXT_SEGMENT_WORD (y{g}, y{w})

5 years agoadd new options ONIG_OPTION_TEXT_SEGMENT_EXTENDED_GRAPHEME_CLUSTER and ONIG_OPTION_TE...
K.Kosako [Fri, 22 Mar 2019 07:44:45 +0000 (16:44 +0900)]
add new options ONIG_OPTION_TEXT_SEGMENT_EXTENDED_GRAPHEME_CLUSTER and ONIG_OPTION_TEXT_SEGMENT_WORD

5 years agoadd ONIG_SYN_OP2_ESC_X_Y_TEXT_SEGMENT (ONIG_SYN_OP2_ESC_X_Y_GRAPHEME_CLUSTER obsoleted)
K.Kosako [Fri, 22 Mar 2019 06:27:42 +0000 (15:27 +0900)]
add ONIG_SYN_OP2_ESC_X_Y_TEXT_SEGMENT (ONIG_SYN_OP2_ESC_X_Y_GRAPHEME_CLUSTER obsoleted)

5 years agouse onigenc_wb_is_break_position()
K.Kosako [Fri, 22 Mar 2019 06:14:25 +0000 (15:14 +0900)]
use onigenc_wb_is_break_position()

5 years agoimplement onigenc_wb_is_break_position()
K.Kosako [Fri, 22 Mar 2019 06:13:17 +0000 (15:13 +0900)]
implement onigenc_wb_is_break_position()