Whamcloud - gitweb
libss: initialize function pointer for readline_shutdown()
authorTheodore Ts'o <tytso@mit.edu>
Thu, 12 Nov 2009 22:54:45 +0000 (17:54 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 12 Nov 2009 22:54:45 +0000 (17:54 -0500)
commit06ef971be505678ee462ae1844204ed24f14aedc
tree767cf32a2e1555962d80e38c5b5256e00e7f941d
parent97f466394eb8fe0f874e9f734ee7ef178e229575
libss: initialize function pointer for readline_shutdown()

Clear the function pointer for readline_shutdown() so that if libss is
linking against a readline library which doesn't supply a
readline_shutdown() function, ss_delete_invocation() won't seg fault.

Thanks to Solar Designer <solar@openwall.com> for reporting this
problem to me.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ss/invocation.c