Skip to content

Instantly share code, notes, and snippets.

@albertocrj
Created April 29, 2020 13:39
Show Gist options
  • Save albertocrj/befb7144b86bc4af86b9a2e0be0293a1 to your computer and use it in GitHub Desktop.
Save albertocrj/befb7144b86bc4af86b9a2e0be0293a1 to your computer and use it in GitHub Desktop.
(gdb) frame 6
#6 0x00007ffff7ada6fa in entry_delete_present_values_wsi_multi_valued (e=0x7fffac01f500, type=0x7fffac012780 "memberOf", vals=0x0, csn=0x7fffbaffc340, urp=8, mod_op=2, replacevals=0x7fffac0127c0)
at ldap/servers/slapd/entrywsi.c:777
777 valueset_purge(a, &a->a_present_values, csn);
(gdb) print *a
$48 = {a_type = 0x7fffac022b30 "memberOf", a_present_values = {num = 21, max = 32, sorted = 0x7fffac023ad0, va = 0x7fffac022b50}, a_flags = 4, a_plugin = 0x6c7e80, a_deleted_values = {num = 0, max = 0,
sorted = 0x0, va = 0x0}, a_listtofree = 0x0, a_next = 0x7fffac023c00, a_deletioncsn = 0x7fffac0247c0, a_mr_eq_plugin = 0x0, a_mr_ord_plugin = 0x0, a_mr_sub_plugin = 0x0}
(gdb) print *a->a_present_values
Structure has no component named operator*.
(gdb) print *a->a_present_values.va[0]
Cannot access memory at address 0x0
(gdb) print *a->a_present_values.va[1]
Cannot access memory at address 0x0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment