Bug 4050 - "testparm --parameter-name" crashes with segmentation fault
Summary: "testparm --parameter-name" crashes with segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.0.23b
Hardware: x86 FreeBSD
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 09:42 UTC by Iouri Ivliev
Modified: 2006-08-26 03:37 UTC (History)
0 users

See Also:


Attachments
Patch to solve this problem (641 bytes, patch)
2006-08-25 09:49 UTC, Iouri Ivliev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iouri Ivliev 2006-08-25 09:42:23 UTC
When samba configuration file (smb.conf) contains less then to sections the folowing command crashes with segmentation fault:
  testparm -s -v --parameter-name '<param name>' /path/to/smb.conf
Comment 1 Iouri Ivliev 2006-08-25 09:49:24 UTC
Created attachment 2104 [details]
Patch to solve this problem
Comment 2 Volker Lendecke 2006-08-25 09:54:44 UTC
Hmmm. Fixed with a different patch with r17832. Can you try that?

Thanks,

Volker
Comment 3 Iouri Ivliev 2006-08-26 03:37:53 UTC
OK, revision r17832 works.