Possible memory leakage in Samba code
Menny Hamburger
menny at exanet.com
Mon Mar 17 16:36:34 GMT 2003
Hello,
I was reviewing the code of del_share_entry function (.../locking/locking.c) that is suppose
to return the entry deleted when supplied with a ppse pointer. If there are a number of entries
that satisfy the share_mode_identical criteria (more than one), memdup will be called more then
once, thus losing the pointer stored previously in the *ppse.
What is the chance that such a scenario could occur?
Thanks,
Menny
Menny Hamburger
System Engineering
Exanet Inc.
www.exanet.com
Email: menny at exanet.com
Phone: +972 9 9717763
Fax: +972 9 9717778
Mobile: +972 55 679763
More information about the samba-technical
mailing list