Bug 4050 - "testparm --parameter-name" crashes with segmentation fault
"testparm --parameter-name" crashes with segmentation fault
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
3.0.23b
x86 FreeBSD
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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.