Hi, Attached is a patch to fix a very old bug, the #6 bug listed in the BUGS file in the elks source. It happened to be a memory leak and null pointer dereferencing in the cp program. I tested the patch using Qemu, copying the entire bin directory to a mounted hard disk image. Now the copy operation succeeds. After the simulation, under linux, fsck'ed the destination disk image and there were no errors. Also diff'ed the copied files with the originals and they all matched. Greetings, Juan
Attachment:
elksT.patch
Description: Binary data