Bug 159019
Summary: | Share names over 32 characters cause smbd trouble | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Michael Brown <michael> | ||||
Component: | samba | Assignee: | Guenther Deschner <gdeschner> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | azelinka, diegoliz, dpal, gdeschner, samba-bugs-list | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Using a share name 24 to 32 characters long caused a string overflow. Share names are now permitted to be up to 32 characters long and string overflows no longer occur.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-05-11 11:26:03 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Michael Brown
2005-05-27 20:08:19 UTC
Created attachment 153332 [details] patch from https://bugzilla.samba.org/show_bug.cgi?id=3703 The bug is still present in RHEL5. With share name from 24 up to 32 char the following error appears: smbd[8935]: [2007/04/21 10:00:06, 0] lib/util_str.c:safe_strcpy_fn(603) smbd[8935]: ERROR: string overflow by 1 (24 - 23) in safe_strcpy [very_long_hidden_share_name$] This patch solves these issues with long share names. Tested on samba-3.0.23c-2.el5.2.src.rpm Please apply. Regards, Diego. Should be fixed in the latest 3.0.33 version. Please add the test and verify. Verified, it works with the latest 3.0.33 version. Thank you. Thanks for testing, closing this report. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Using a share name 24 to 32 characters long caused a string overflow. Share names are now permitted to be up to 32 characters long and string overflows no longer occur. |