Ticket #27427

getput.cのバッファサイズ

오픈 날짜: 2012-02-07 00:41 마지막 업데이트: 2012-02-23 17:23

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

Details

DownLoadPassive()/DownLoadNonPassive()/UpLoadNonPassive()/UpLoadPassive() の4関数でバッファをchar Buf[1024];と宣言していますが、コマンド等+ファイルパスを扱うのでバッファが若干不足する可能性があります。
実際にはファイルパス長の制限があるので不足しないはずですが、扱う構造体との整合性のためにも念のため修正するとよろしいかと。

Ticket History (3/3 Histories)

2012-02-07 00:41 Updated by: None
  • New Ticket "getput.cのバッファサイズ" created
2012-02-07 21:39 Updated by: s_kawamoto
댓글 올리기

特に必要があるとは思いませんが、念のため修正しました。 http://git.sourceforge.jp/view?p=ffftp/ffftp.git;a=commit;h=698970baae62125ab8fd5d0e71a2835187288c7d

2012-02-23 17:23 Updated by: s_kawamoto
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2012-02-23 17:23
댓글 올리기

1.98eで実装しました。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login