From: Ivan Romanov Date: Mon, 15 Oct 2012 16:41:36 +0000 (-0400) Subject: Exportfs crashes with long path X-Git-Tag: debian/1%1.2.8-1~11^2^2~91 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=a16f4a13677d13b0aae9327a3b9e8414470b7927;p=nfs-utils.git Exportfs crashes with long path Acked-by: Bruce Fields Signed-off-by: Steve Dickson --- diff --git a/support/export/export.c b/support/export/export.c index 4fda30a..0257903 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -357,7 +357,7 @@ strtoint(char *str) static int export_hash(char *str) { - int num = strtoint(str); + unsigned int num = strtoint(str); return num % HASH_TABLE_SIZE; }