Pre-allocate client/server/tmp/etc buffers with client structure
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI Linux / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI MacOS / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI Windows / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (macos-15) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-24.04-arm) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (ubuntu-latest) (push) Waiting to run
C/C++ CI cmake / ${{ matrix.target }} (windows-2022) (push) Waiting to run
C/C++ CI cmake / ubuntu-latest (wolfSSL) (push) Waiting to run

This commit is contained in:
Vladimir Dubrovin committed 2026-10-12 17:19:55 +03:00
1 parent b9297dc4cf
commit a20f646169
36 files changed
+431 -492

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ static int ldapfunc(struct clientparam *param)
char escuser[512];
/* test proxy user auth ------------------------*/
if(!param->username || !param->password) return 4;
if(!*param->username || !*param->password) return 4;
if(strlen(param->password)==0) return 4;
/* init ldap ---------------------- */
+1 -1
View File
@@ -78,7 +78,7 @@ static int pamfunc(struct clientparam *param)
NULL };
/* test proxy user auth ------------------------*/
if(!param->username || !param->password) return 4;
if(!*param->username || !*param->password) return 4;
/*if(strlen(param->password)==0) return 4;*/
#ifdef USERCASE
@@ -31,7 +31,7 @@ extern "C" {
PTOKEN_GROUPS ptg = (PTOKEN_GROUPS)tokenbuf;
if(!param->username || !param->password || param->pwtype != 0) return 4;
if(!*param->username || !*param->password || param->pwtype != 0) return 4;
dom = strchr((char *)param->username, '\\');
if(dom)*dom++=0;
if(!LogonUser( dom?dom:(char *)param->username,
+1 -1
View File
@@ -54,7 +54,7 @@ unsigned char * conv_utf8_to_cp1251(unsigned char *s){
static int aufunc(struct clientparam *param){
if(!param->username || !param->password || param->pwtype != 0) return 4;
if(!*param->username || !*param->password || param->pwtype != 0) return 4;
conv_utf8_to_cp1251(param->username);
conv_utf8_to_cp1251(param->password);
return 4;