Ticket #21483

effects.cでバッファオーバーラン(英語版のみ)

오픈 날짜: 2010-04-20 07:54 마지막 업데이트: 2020-12-20 21:56

Reporter:
소유자:
Type:
Status:
Closed
Component:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
None

Details

effects.cの5308行以降で、日本語版は問題ありませんが、英語版はバッファが足りていません。

				char buf[10];

				if (p_ptr->inside_arena)
#ifdef JP
					strcpy(buf,"アリーナ");
#else
					strcpy(buf,"in the Arena");
#endif
				else if (!dun_level)
#ifdef JP
					strcpy(buf,"地上");
#else
					strcpy(buf,"on the surface");
#endif
				else if (q_idx && (is_fixed_quest_idx(q_idx) &&
				         !((q_idx == QUEST_OBERON) || (q_idx == QUEST_SERPENT))))
#ifdef JP
					strcpy(buf,"クエスト");
#else
					strcpy(buf,"in a quest");
#endif
				else
#ifdef JP
					sprintf(buf,"%d階", dun_level);
#else
					sprintf(buf,"level %d", dun_level);
#endif

Ticket History (3/5 Histories)

2010-04-20 07:54 Updated by: shimitei
  • New Ticket "effects.cでバッファオーバーラン(英語版のみ)" created
2011-03-09 00:15 Updated by: deskull
  • 소유자 Update from (None) to deskull
2011-03-09 00:23 Updated by: deskull
  • Resolution Update from None to Fixed
댓글 올리기

対応しました、報告ありがとうございます。

2011-03-09 00:23 Updated by: deskull
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2011-03-09 00:23
2020-12-20 21:56 Updated by: deskull

Attachment File List

No attachments

Edit

Please login to add comment to this ticket » Login