Line
Link Here
|
0 |
-- bind-9.6.1/contrib/dlz/drivers/sdlz_helper.c.orig |
0 |
++ bind-9.6.1/contrib/dlz/drivers/sdlz_helper.c |
Lines 166-177
Link Here
|
166 |
ISC_LIST_APPEND(*tql, tseg, link); |
166 |
ISC_LIST_APPEND(*tql, tseg, link); |
167 |
|
167 |
|
168 |
/* |
168 |
/* |
169 |
* split string at the first "%". set query segment to |
169 |
* split string at the first "$". set query segment to |
170 |
* left portion |
170 |
* left portion |
171 |
*/ |
171 |
*/ |
172 |
tseg->sql = isc_mem_strdup(mctx, |
172 |
tseg->sql = isc_mem_strdup(mctx, |
173 |
isc_string_separate(&right_str, |
173 |
isc_string_separate(&right_str, |
174 |
"%")); |
174 |
"$")); |
175 |
if (tseg->sql == NULL) { |
175 |
if (tseg->sql == NULL) { |
176 |
/* no memory, clean everything up. */ |
176 |
/* no memory, clean everything up. */ |
177 |
result = ISC_R_NOMEMORY; |
177 |
result = ISC_R_NOMEMORY; |