Ticket #19463

何かの後にtoをつけると落ちる

Open Date: 2009-11-05 02:53 Last Update: 2009-11-05 03:10

Reporter:
Owner:
(None)
Type:
Status:
Closed
Component:
(None)
MileStone:
(None)
Priority:
3
Severity:
3
Resolution:
Fixed
File:
None

Details

以下の通りにすると落ちます。

Konoha 0.7b3(BAKUMAN) LGPL3.0 (rev:934, Nov  5 2009 02:46:19)
[GCC 4.3.3] on linux_32 (32, UTF-8)
Options: iconv refc sqlite3 thread regex used_memory:348 kb
>>> 1 to
konoha: ../src/kc/typing.c:2873: knh_StmtOP_typing: Assertion `mn != ((knh_methodn_t)-1)' failed.
zsh: abort      konoha

>>> + to
konoha: ../src/kc/typing.c:2873: knh_StmtOP_typing: Assertion `mn != ((knh_methodn_t)-1)' failed.
zsh: abort      konoha

>>> OUT to
konoha: ../src/kc/typing.c:2873: knh_StmtOP_typing: Assertion `mn != ((knh_methodn_t)-1)' failed.
zsh: abort      konoha

>>> 1 to 2
konoha: ../src/kc/typing.c:2873: knh_StmtOP_typing: Assertion `mn != ((knh_methodn_t)-1)' failed.
zsh: abort      konoha

通常の使用法である配列の範囲指定では問題ありません。

Ticket History (2/2 Histories)

2009-11-05 02:53 Updated by: ryotah
  • New Ticket "何かの後にtoをつけると落ちる" created
2009-11-05 03:10 Updated by: kkuramitsu
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2009-11-05 03:10
Comment

直しました。

	if(mn == METHODN_NONAME) {
		knh_Gamma_perror(ctx, KERR_ERROR, _("undefined operator: %s"), sToken(tkOP));
		return NULL;
	}

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login