[PATCH] libelf/elf_end.c: check data_list.data.d.d_buf before free it

Jan Pokorný jpokorny@redhat.com
Fri Aug 17 09:44:00 GMT 2018


[rereading, two prelink commands got missing and diff ones were
garbled in the sequence below, losing consequentiality, sorry]

On 16/08/18 22:15 +0200, Jan Pokorný wrote:
> Out of curiousity, tried this on my Fedora machine without any
> success to reproduce:
> 
>   # dnf install -y libqb https://kojipkgs.fedoraproject.org//packages/prelink/0.5.0/1.fc19/x86_64/prelink-0.5.0-1.fc19.x86_64.rpm
>   # chmod -x /etc/cron.daily/prelink
>   # cp /usr/lib64/libqb.so.0.19.0{,.bck}

   # prelink /usr/lib64/libqb.so.0.19.0
   # diff /usr/lib64/libqb.so.0.19.0{,.bck} >/dev/null && echo same || echo not

>   > not
>   # dnf downgrade -y https://kojipkgs.fedoraproject.org//packages/libqb/1.0.2/1.fc26/x86_64/libqb-1.0.2-1.fc26.x86_64.rpm
>   # cp /usr/lib64/libqb.so.0.18.2{,.bck}

   # prelink /usr/lib64/libqb.so.0.18.2
   # diff /usr/lib64/libqb.so.0.18.2{,.bck} >/dev/null && echo same || echo not

>   > not

-- 
Nazdar,
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/elfutils-devel/attachments/20180817/9b061520/attachment.sig>


More information about the Elfutils-devel mailing list