Bug 8231 - crash in net cache get
Summary: crash in net cache get
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.6.0rc2
Hardware: All All
: P5 major
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 07:54 UTC by Christian Ambach
Modified: 2011-06-14 18:05 UTC (History)
0 users

See Also:


Attachments
Patch (768 bytes, patch)
2011-06-14 09:17 UTC, Volker Lendecke
ambi: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ambach 2011-06-14 07:54:06 UTC
net cache get crashes

*** glibc detected *** bin/net: free(): invalid pointer: 0x00007f51b9054250 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x3767c76d63)[0x7f51b571dd63]
bin/net(+0x111d82)[0x7f51b83ebd82]
bin/net(net_run_function+0x95)[0x7f51b840ee41]
bin/net(net_cache+0x6e)[0x7f51b83ec056]
bin/net(net_run_function+0x95)[0x7f51b840ee41]
Comment 1 Volker Lendecke 2011-06-14 09:17:36 UTC
Created attachment 6580 [details]
Patch

I've pushed the attached patch to autobuild. That fixes it for me.
Comment 2 Christian Ambach 2011-06-14 09:45:49 UTC
Comment on attachment 6580 [details]
Patch

i already put a similar one into autobuild before opening this bug
Comment 3 Volker Lendecke 2011-06-14 09:49:32 UTC
It would have been nice if you had mentioned this in the defect. This would have saved me reproducing it and uploading the patch here. You could also have directly added the defect here. This would also have saved some double work.

Thanks,

Volker
Comment 4 Christian Ambach 2011-06-14 17:58:48 UTC
Hi Karolin,

you can either apply the patch that Volker has attached or cherry-pick 7639684 from master (but that one does not list the bug# in the commit message)
Comment 5 Karolin Seeger 2011-06-14 18:05:16 UTC
Pushed to v3-6-test.
Closing out bug report.

Thanks!