mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-12 08:40:00 -04:00
[v9_9] 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 commit d51456e453)
This commit is contained in:
parent
fd466390af
commit
82faa427b5
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]
|
||||
|
|
|
|||
|
|
@ -330,6 +330,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;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -314,6 +314,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