[OpenAFS-devel] small patch to fix segmentation fault during error reporting of "fs"
Stefaan
stefaan.deroeck@gmail.com
Thu, 18 Jan 2007 19:56:14 +0100
------=_Part_32281_14629402.1169146574954
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hi,
this is probably not the right list for bug reports and patches, but I
was kind of surprised that my previous report to openafs-bugs had its
ticket (#51424) deleted. I guess it was probably lost in the huge
spam traffic going on there. So I'm trying again here :)
Sorry to bother,
Stefaan
---------- Forwarded message ----------
From: Stefaan <stefaan.deroeck@gmail.com>
Date: Jan 10, 2007 8:21 PM
Subject: small patch to fix segmentation fault during error reporting of "fs"
To: openafs-bugs@openafs.org
Before:
stefaan@bubbles ~ $ fs listacl /afs/
fs:'/afs/'Segmentation fault
After:
stefaan@bubbles ~ $ fs listacl /afs/
fs:'/afs/': Connection timed out
on amd64-linux. Source of problem was missing prototype for
extern const char *error_message(afs_int32);
which caused return type to default to 32-bit, while const char * is
64-bit on this platform.
Patch applies to openafs-stable-1_4_x
Cheers,
Stefaan
------=_Part_32281_14629402.1169146574954
Content-Type: application/octet-stream; name=fs-fix.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_ews4x5t1
Content-Disposition: attachment; filename="fs-fix.patch"
LS0tIHNyYy92ZW51cy9mcy5jLm9sZAkyMDA3LTAxLTEwIDE5OjQ1OjI5LjAwMDAwMDAwMCArMDEw
MAorKysgc3JjL3ZlbnVzL2ZzLmMJMjAwNy0wMS0xMCAxOTo0NTozNS4wMDAwMDAwMDAgKzAxMDAK
QEAgLTU0LDYgKzU0LDcgQEAKICNpbmNsdWRlIDxzdGRsaWIuaD4KICNpbmNsdWRlIDxhc3NlcnQu
aD4KICNpbmNsdWRlIDxhZnMvcHRjbGllbnQuaD4KKyNpbmNsdWRlIDxhZnMvY29tX2Vyci5oPgog
CiAKICNkZWZpbmUJTUFYSE9TVFMgMTMK
------=_Part_32281_14629402.1169146574954--