Browse Subversion Repository
Diff of /trunk/ttssh2/ttxssh/hosts.c
Parent Directory
| Revision Log
| Patch
| 1048 |
index = strlen(result); |
index = strlen(result); |
| 1049 |
} |
} |
| 1050 |
|
|
| 1051 |
_snprintf_s(result + index, result_len - host_len, _TRUNCATE, |
// 第2引数(sizeOfBuffer)の指定誤りにより、実際のバッファサイズより |
| 1052 |
|
// 大きくなっていた問題を修正した。 |
| 1053 |
|
// ポート番号が22以外の場合、VS2005のdebug buildでは、add_host_key()の |
| 1054 |
|
// free(keydata)で、かならず「ブレークポイントが発生しました。ヒープが壊れていることが |
| 1055 |
|
// 原因として考えられます。」という例外が発生する。 |
| 1056 |
|
// release buildでは再現性が低い。 |
| 1057 |
|
_snprintf_s(result + index, result_len - index, _TRUNCATE, |
| 1058 |
" %d ", pvar->hosts_state.hostkey.bits); |
" %d ", pvar->hosts_state.hostkey.bits); |
| 1059 |
index += strlen(result + index); |
index += strlen(result + index); |
| 1060 |
index += print_mp_int(result + index, pvar->hosts_state.hostkey.exp); |
index += print_mp_int(result + index, pvar->hosts_state.hostkey.exp); |
|
|
Legend:
| Removed from v.7714 |
|
| changed lines |
| |
Added in v.7889 |
|
|
| |