mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-25 18:48:53 -04:00
[v9_8] fix API mismatch bug in DLZ
3775. [bug] dlz_dlopen driver could return the wrong error code on API version mismatch, leading to a segfault. [RT #35495] (cherry picked from commitd51456e453) (cherry picked from commit82faa427b5)
This commit is contained in:
parent
5ffba0a637
commit
853416f54a
3 changed files with 6 additions and 0 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
3775. [bug] dlz_dlopen driver could return the wrong error
|
||||
code on API version mismatch, leading to a segfault.
|
||||
[RT #35495]
|
||||
|
||||
3773. [func] "host", "nslookup" and "nsupdate" now have
|
||||
options to print the version number and exit.
|
||||
[RT #26057]
|
||||
|
|
|
|||
|
|
@ -327,6 +327,7 @@ dlopen_dlz_create(const char *dlzname, unsigned int argc, char *argv[],
|
|||
"dlz_dlopen: incorrect version %d "
|
||||
"should be %d in '%s'",
|
||||
cd->version, DLZ_DLOPEN_VERSION, cd->dl_path);
|
||||
result = ISC_R_FAILURE;
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -311,6 +311,7 @@ dlopen_dlz_create(const char *dlzname, unsigned int argc, char *argv[],
|
|||
"dlz_dlopen: incorrect version %d "
|
||||
"should be %d in '%s'",
|
||||
cd->version, DLZ_DLOPEN_VERSION, cd->dl_path);
|
||||
result = ISC_R_FAILURE;
|
||||
goto failed;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue