Bug 1947 - vfstest & segmentation fault
Summary: vfstest & segmentation fault
Status: CLOSED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.7
Hardware: All Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-19 06:54 UTC by Marek 'marx' Grac
Modified: 2005-08-24 10:26 UTC (History)
0 users

See Also:


Attachments
Proposed patch (721 bytes, patch)
2004-10-19 16:32 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek 'marx' Grac 2004-10-19 06:54:32 UTC
hi,

i'm just trying to use vfstest and one of the first thing which I found was that:

stat filename

will write correct stat about filename but then SIGSEGV. 

I'm not sure which component, should I choose :(
Comment 1 Jeremy Allison 2004-10-19 16:32:27 UTC
Created attachment 735 [details]
Proposed patch
Comment 2 Jeremy Allison 2004-10-19 16:32:53 UTC
Incorrect use of sys_getpwnam etc. interfaces. Don't free.
Added patch.
Jeremy.
Comment 3 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:26:05 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.