This seems to be caused by compiling glusterfs with -D_FORTIFY_SOURCE=2,
which also seems to be the default in gcc. I rebuilt gluster-client with
-D_FORTIFY_SOURCE=1 and that "fixes" the problem.

Details: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html

Quick workaround:

mkdir glusterfs
cd glusterfs
apt-get source glusterfs-client
sudo apt-get build-dep glusterfs-client
cd glusterfs-3.0.5
DEB_CFLAGS_APPEND="-D_FORTIFY_SOURCE=1" debuild -us -uc
cd ..
sudo dpkg --install glusterfs-client_3.0.5-1_*.deb
sudo dpkg --install libglusterfs0_3.0.5-1_*.deb

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/785158

Title:
  Client 3.0.5 crashes with buffer overflow

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to