lkml.org 
[lkml]   [2014]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCrash by update of shared libraries
Hello,

my system crash by libraries update. Some steps to reproduce the
bug (without crash of the all system):


$ export LD_PRELOAD=./libfake.so.1
$ cp libfake.so.1 /tmp/
$ cp /tmp/libfake.so.1 .
=> Bus error

The cp crash, since the file of the loaded library changed (and the copy
failed of course, the new file is now empty).
All software with a library loaded (with ld) will crash as well (for
example by system updating of the libc: the pid 1 will crash).

Tested on a Linux kernel 3.14.0-rc3.

Regards,

--
Florent.


\
 
 \ /
  Last update: 2014-02-18 21:41    [W:0.067 / U:1.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site