rproc_elf_load_segments: rproc_elf_load_segments elf loading problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

The following may look like an error, could someone review.

In rproc_elf_load_segments:

/* grab the kernel address for this device address */
ptr = rproc_da_to_va(rproc, da, memsz);

The last parameter should be filesz. Otherwise this call may fail, as
the case when da is an address within a segment / memory.
(E.g.  placing a RO data after the code within text segment /memory ).

Regards

Denis Ryndine

---
dry@xxxxxxxxxxxxxxxxxxxxxx | www.embedded-synergy.co.za



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux