"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/ldb/ldb_ldap/ldb_ldap.c" between
samba-4.12.3.tar.gz and samba-4.12.5.tar.gz

About: Samba is the standard Windows interoperability suite of programs for Linux and Unix providing secure, stable and fast file and print services for all clients using the SMB/CIFS protocol. 4.12 series.

ldb_ldap.c  (samba-4.12.3):ldb_ldap.c  (samba-4.12.5)
skipping to change at line 179 skipping to change at line 179
if (!el->values[i].data) { if (!el->values[i].data) {
errno = ENOMEM; errno = ENOMEM;
return -1; return -1;
} }
memcpy(el->values[i].data, bval[i]->bv_val, bval[i]->bv_len); memcpy(el->values[i].data, bval[i]->bv_val, bval[i]->bv_len);
el->values[i].data[bval[i]->bv_len] = 0; el->values[i].data[bval[i]->bv_len] = 0;
el->values[i].length = bval[i]->bv_len; el->values[i].length = bval[i]->bv_len;
el->num_values++; el->num_values++;
} }
msg->num_elements++;
return 0; return 0;
} }
/* /*
search for matching records search for matching records
*/ */
static int lldb_search(struct lldb_context *lldb_ac) static int lldb_search(struct lldb_context *lldb_ac)
{ {
struct ldb_context *ldb; struct ldb_context *ldb;
struct lldb_private *lldb = lldb_ac->lldb; struct lldb_private *lldb = lldb_ac->lldb;
 End of changes. 1 change blocks. 
2 lines changed or deleted 0 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)