From: Heiko Z. <he...@zu...> - 2012-02-21 16:42:20
|
Hey, Quoting Andrzej Odyniec <an...@ma...>: > As You can see, mount.cifs found realpath not in glibc but in libsafe (!). > >> root@DesignerVM32:/var # objdump -t /lib/libsafe.so.2|grep realpath >> 0000501c l O .bss 00000004 real_realpath.4419 >> 00001ec0 g F .text 00000154 realpath > > Indeed, in libsafe library realpath function is present, perhaps > safer because > of protecting second argument from overflow, but probably not accepting (at > least 32-bit) as the second argument of NULL or has some other defect. > > So, probably problem is with libsafe, not in glibc. That would explain why it works on the 64 bit version, since libsafe is disabled there. You can easily test this. Delete the file /etc/ld.so.preload. Not sure if you have to bounce or not. I would be open to completely removing libsafe from DL. It hasn't been updated in a decade... -- Regards Heiko Zuerker http://www.devil-linux.org |