diff options
| author | Tomas Hozza <thozza@redhat.com> | 2014-01-06 14:09:43 +0100 |
|---|---|---|
| committer | Tomas Hozza <thozza@redhat.com> | 2014-01-06 15:06:20 +0100 |
| commit | abe4be55020902e0b1c23f32edc3e3d5ce00ec30 (patch) | |
| tree | 0c51f179e6fcfe289142cd58af03828d759602d8 /bind99-ISC-Bugs-35073.patch | |
| parent | cfca698d2bf821b950cfd21f4c835b35de03115d (diff) | |
Update to bind-9.9.5b1
Signed-off-by: Tomas Hozza <thozza@redhat.com>
Diffstat (limited to 'bind99-ISC-Bugs-35073.patch')
| -rw-r--r-- | bind99-ISC-Bugs-35073.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/bind99-ISC-Bugs-35073.patch b/bind99-ISC-Bugs-35073.patch deleted file mode 100644 index c8be3ed..0000000 --- a/bind99-ISC-Bugs-35073.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/bin/nsupdate/nsupdate.c b/bin/nsupdate/nsupdate.c
-index 486c102..dc12a85 100644
---- a/bin/nsupdate/nsupdate.c
-+++ b/bin/nsupdate/nsupdate.c
-@@ -1566,16 +1566,20 @@ evaluate_realm(char *cmdline) {
- #ifdef GSSAPI
- char *word;
- char buf[1024];
-+ int n;
-
-- word = nsu_strsep(&cmdline, " \t\r\n");
-- if (word == NULL || *word == 0) {
-- if (realm != NULL)
-- isc_mem_free(mctx, realm);
-+ if (realm != NULL) {
-+ isc_mem_free(mctx, realm);
- realm = NULL;
-- return (STATUS_MORE);
- }
-
-- snprintf(buf, sizeof(buf), "@%s", word);
-+ word = nsu_strsep(&cmdline, " \t\r\n");
-+ if (word == NULL || *word == 0)
-+ return (STATUS_MORE);
-+
-+ n = snprintf(buf, sizeof(buf), "@%s", word);
-+ if (n < 0 || (size_t)n >= sizeof(buf))
-+ fatal("realm is too long");
- realm = isc_mem_strdup(mctx, buf);
- if (realm == NULL)
- fatal("out of memory");
|
