Red Hat Bugzilla – Bug 863054
exportfs crash with long path
Last modified: 2012-11-29 01:10:30 EST
Created attachment 621559 [details]
Steps to Reproduce:
# mkdir -p /home/kudinae/Общедоступные
# echo '/home/kudinae/Общедоступные oek-1(rw,sync,no_wdelay,no_root_squash,no_subtree_check)' > /etc/exports
# exportfs -a
I've obtained the sources. So a crush happens on export.c:293. variable pos has negative value. I think problem into strtoint and export_hash functions. strtoint has unsigned type and always returns positive value but export_hash impicity cast it to signed int. So it is possible to get negative value.
I wrote patch to fix this.
Good catch--would it be possible for you to send this patch upstream? That would just mean emailing it (together with your explanation) to email@example.com, cc'd to firstname.lastname@example.org.
Sure. I will do it.
(In reply to comment #3)
> no answer
Its on my todo list... thanks for patch...
nfs-utils-1.2.6-6.fc17 has been submitted as an update for Fedora 17.
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing nfs-utils-1.2.6-6.fc17'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
nfs-utils-1.2.6-6.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.