Multiple fixes, including security-related ones (in smtpp and LDAP plugin)
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-07-20 19:52:10 +03:00
1 parent afb2ec0696
commit d60ac723a5
7 files changed
+150 -25

No files matched your search

+6 -2
View File
@@ -49,9 +49,13 @@ char **load_string(FILE *f,int max_count_str, int *countloadstr,
/*load from file new strings */
i=0;
while ( !feof(f) || i< max_count_str)
while ( !feof(f) && i < max_count_str)
{
if(!fgets(tmpbuf1, 1023,f)) return NULL;
if(!fgets(tmpbuf1, 1023,f)){
if(pt) free(pt);
free(old_table);
return NULL;
}
if ((strstr(tmpbuf1,stop))!=NULL) { break; }