search for: realloc_array

Displaying 9 results from an estimated 9 matches for "realloc_array".

2016 Mar 02
4
Segmentation Fault when trying to set root samba password, IPA as a backend
...lloc_free_internal (talloc.c:1072) ==2405== by 0x4A62BEC: _talloc_free (talloc.c:1647) ==2405== by 0x10BFCD: main (smbpasswd.c:631) ==2405== Address 0x5f17dd0 is 0 bytes inside a block of size 16 free'd ==2405== at 0x482C2D4: realloc (vg_replace_malloc.c:692) ==2405== by 0x48777F7: realloc_array (util.c:754) ==2405== by 0x5728B31: smbldap_set_mod_internal (smbldap.c:325) ==2405== by 0x57290B6: smbldap_set_mod (smbldap.c:392) ==2405== by 0x4A9FC2B: ldapsam_create_user (pdb_ldap.c:5304) ==2405== by 0x4ABB376: pdb_create_user (pdb_interface.c:542) ==2405== by 0x4AACBF9: local_p...
2016 Mar 01
3
Segmentation Fault when trying to set root samba password, IPA as a backend
On 01/03/16 21:35, Garming Sam wrote: > Hi Rowland, > > This new segfault seems unrelated to the previous one. It's probably > something like a double free, which typically shouldn't be that hard to > fix. If you try running the tool under valgrind, it should provide > enough information to fix the issue. > > > Cheers, > > Garming > Who or what is
2016 Mar 04
0
Segmentation Fault when trying to set root samba password, IPA as a backend
...free_internal (talloc.c:1072) ==28624== by 0x4A65C9C: _talloc_free (talloc.c:1647) ==28624== by 0x10C1DD: main (smbpasswd.c:631) ==28624== Address 0x5f20dd0 is 0 bytes inside a block of size 16 free'd ==28624== at 0x482C2D4: realloc (vg_replace_malloc.c:692) ==28624== by 0x48777F7: realloc_array (util.c:754) ==28624== by 0x5731BE1: smbldap_set_mod_internal (smbldap.c:325) ==28624== by 0x5732166: smbldap_set_mod (smbldap.c:392) ==28624== by 0x4AA410F: ldapsam_create_user (pdb_ldap.c:5305) ==28624== by 0x4AC046E: pdb_create_user (pdb_interface.c:542) ==28624== by 0x4AB1401: lo...
2016 Mar 04
2
Segmentation Fault when trying to set root samba password, IPA as a backend
On Fri, Mar 04, 2016 at 10:53:17AM +0100, Volker Lendecke wrote: > On Wed, Mar 02, 2016 at 09:23:34AM +0000, Rowland penny wrote: > > OK, here is the output: > > Can you try the attached (UNTESTED!) patch? > > Thanks, Gna, should have at least compiled it.... New patch :-) Volker -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax:
2007 Nov 11
0
Samba Crash with nobody user account
...:52 svct03 smbd[13627]: #2 smbd [0xc29fba] Nov 10 17:07:52 svct03 smbd[13627]: #3 [0x4ec420] Nov 10 17:07:52 svct03 smbd[13627]: #4 /lib/libc.so.6(realloc+0xd9) [0x3d97e9] Nov 10 17:07:52 svct03 smbd[13627]: #5 smbd(Realloc+0x83) [0xc3f9d3] Nov 10 17:07:52 svct03 smbd[13627]: #6 smbd(realloc_array+0x46) [0xc3fae6] Nov 10 17:07:52 svct03 smbd[13627]: #7 smbd(add_sid_to_array+0xa7) [0xc37cd7] Nov 10 17:07:53 svct03 smbd[13627]: #8 smbd(add_sid_to_array_unique+0x65) [0xc37d45] Nov 10 17:07:53 svct03 smbd[13627]: #9 smbd(create_token_from_username+0x8aa) [0xc86b4a] Nov 10 17:07:53 svct0...
2005 Jul 29
2
segment fault with 2.6.6 or CVS
Hi, I've rebuilt rsync (which was running just fine for quite some time) and it works if used via ssh or if the daemon is started via ssh. But it crashed in daemon mode (started standalone or by xinetd) Here is the gdb log gdb ... set follow-fork-mode child run --daemon --no-detach Program received signal SIGSEGV, Segmentation fault. [Switching to process 32521] 0x08056577 in glob_expand
2004 Aug 20
3
Using --keep-dirlinks : recursive symlinks problem
Hello folks, trying to make use of the new --keep-dirlinks feature for a synch port; it works excellent but feels incomplete without a way for rsync to ignore recursive links. Example: # ls -la . total 6 drwxrwxr-x 2 bldmstr staff 512 Aug 16 21:42 . drwxrwxr-x 8 bldmstr staff 512 Aug 16 21:41 .. lrwxrwxrwx 1 bldmstr staff 2 Aug 20 12:07 bogus -> .. if you use
2011 May 29
22
[Bug 8177] New: Problems with big sparsed files
https://bugzilla.samba.org/show_bug.cgi?id=8177 Summary: Problems with big sparsed files Product: rsync Version: 3.0.8 Platform: x64 OS/Version: Linux Status: NEW Severity: normal Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: joluinfante at gmail.com
2004 Feb 06
4
memory reduction
...l_free(idev_pool, 0, head->link_u.idev); head->link_u.idev = NULL; } } @@ -73,12 +88,16 @@ static void link_idev_data(void) if (!to) { free(hlink_list); hlink_list = NULL; + pool_destroy(hlink_pool); + hlink_pool = NULL; } else { hlink_count = to; if (!(hlink_list = realloc_array(hlink_list, struct file_struct *, hlink_count))) out_of_memory("init_hard_links"); } + flist->hlink_pool = hlink_pool; + pool_destroy(idev_pool); } #endif @@ -109,7 +128,7 @@ void init_hard_links(struct file_list *f free(hlink_list); hlink_list = NULL; } else -...