summaryrefslogtreecommitdiffstats
path: root/src/misc.c
Commit message (Collapse)AuthorAgeFilesLines
* CVE-2012-4560: Fix a write one past the end of 'buf'.Andreas Schneider2012-11-141-2/+3
|
* CVE-2012-4560: Fix a write one past the end of the 'u' buffer.Andreas Schneider2012-11-141-1/+1
|
* misc: Don't leak memory on ssh_path_expand_escape() on error.Andreas Schneider2012-10-051-0/+4
| | | | (cherry picked from commit 61d032fc03e0055c859931f466bc75fbdf36385a)
* session: Cleanup timeout functions and fix packets termination.rofl0r2012-01-021-11/+32
| | | | | | | | It is possible that we get unrelated packets while waiting for termination, thus waiting indefinitely. As a workaround we have to check the user-supplied timeout. Also cleaned up ssh_blocking_flush, which was using the timeout in a bogus manner (resetting the timeout after each check).
* channels: replaced bugged lists with ssh_listAris Adamantiadis2011-09-021-0/+12
| | | | | | | | | (cherry picked from commit 6d8bb956c5caa48c2aba6713f067224650c3c1e1) Conflicts: src/channels.c src/session.c
* misc: Fix ssh_timeout_update().rofl0r2011-08-071-5/+5
| | | | (cherry picked from commit c31cac93f3695b81383e65ecc8206fbda7f75d94)
* Workaround ssh_get_user_home_dir on LDAP usersAris Adamantiadis2011-07-131-1/+2
|
* build: Check for ntohll().Andreas Schneider2011-06-061-2/+4
| | | | | This function is available on AIX. (cherry picked from commit 640e3830f295baae596cc34ec2fc79fc08807d0f)
* misc: Fix compilation on Windows.Andreas Schneider2011-05-261-4/+5
| | | | (cherry picked from commit ba03388031530fcf49b2c37ce0da801254e5075f)
* cmake: Fix detection of clock_gettime.Andreas Schneider2011-05-251-6/+8
|
* Replace clock_gettime with gettimeofday when missingAris Adamantiadis2011-05-251-1/+10
| | | | (cherry picked from commit 65282841e2a3e8af634759b6f7b39581a885d9d5)
* Introduced ssh_timeout_elapsed functionsAris Adamantiadis2011-05-251-0/+86
| | | | | | | | Functions to mesure elapsed time before and after a serie of calls. Introduces a dependancy to clock_gettime() and librt, hope this doesn't break anything. Porting to gettimeofday() should not be too hard. (cherry picked from commit 59f7647cd97c62ab7a26725e5a166dcb54b27bc6)
* build: Fixed some VS2010 problems.Oliver Stöneberg2011-04-111-2/+2
| | | | (cherry picked from commit 166ee451c500543db49e789b9bb2ed16db052f94)
* misc: Fixed ssh_is_ipaddr_v4() on Windows.Andreas Schneider2011-02-131-0/+5
| | | | (cherry picked from commit eea1df3574db36036aa68c098bc29996a241808d)
* misc: Added working ssh_is_ipaddr for Windows.Andreas Schneider2011-02-131-33/+69
| | | | (cherry picked from commit cd30a1d4b1d47636f86579b666d769d395e19782)
* misc: Fixed ssh_is_ipaddr on FreeBSD.Andreas Schneider2011-02-131-0/+3
| | | | (cherry picked from commit d1ddec00d99e96009eebead8e1263efcfe80f9ee)
* misc: Added ssh_is_ipaddr() function.Andreas Schneider2011-02-121-0/+32
| | | | (cherry picked from commit b313fa944a5ab6e0eb935601cfdf60cf9008d06c)
* Fix getpwuid_r on opensolarisAris Adamantiadis2011-01-111-7/+7
|
* misc: Avoid redefine of _WIN32_IE.Andreas Schneider2011-01-011-2/+9
|
* misc: Fixed a possible memory leak.Andreas Schneider2010-12-271-1/+2
|
* misc: Fixed a typo.Andreas Schneider2010-09-291-1/+1
|
* misc: Make sure ssh_analyze_banner has proper length checks.Andreas Schneider2010-09-291-19/+37
|
* misc: Differentiate between client and server in ssh_analyze_banner.Andreas Schneider2010-09-291-2/+8
|
* misc: Fixed a possible data overread and crash bug.Andreas Schneider2010-09-291-2/+5
|
* misc: Move ssh_analyze_banner to a common location.Andreas Schneider2010-09-291-0/+63
| | | | Don't duplicate functions!
* misc: Fixed a memory leak.Andreas Schneider2010-09-071-1/+2
|
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-0/+685