Sha256: 788e3b48765b963072f6c8bd708a336e2a3074003e4b13b2b5d58bc50f6e7111

Contents?: true

Size: 334 Bytes

Versions: 55

Compression:

Stored size: 334 Bytes

Contents

--- a/src/dblib/dblib.c
+++ b/src/dblib/dblib.c
@@ -765,7 +765,7 @@ dbsetlname(LOGINREC * login, const char *value, int which)
 		return FAIL;
 	}
 
-	if (TDS_MAX_LOGIN_STR_SZ < strlen(value)) {
+	if (login->tds_login->tds_version < 0x700 && TDS_MAX_LOGIN_STR_SZ < strlen(value)) {
 		dbperror(NULL, SYBENTLL, 0);
 		return FAIL;
 	}

Version data entries

55 entries across 55 versions & 1 rubygems

Version Path
tiny_tds-0.9.5.rc.3-x86-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.3-x64-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.3 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.2-x86-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.2-x64-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.2 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.1-x64-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.1-x86-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.rc.1 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.12-x86-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.12-x64-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.12 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.11-x86-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.11-x64-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.11 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.10-x86-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.10-x64-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.10 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.9-x86-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff
tiny_tds-0.9.5.beta.9-x64-mingw32 ports/patches/freetds/0.91.112/dblib-30-char-username.diff