Skip to content

Do not read entire file into buffer when extracting

Erik Karlsson - Genexis requested to merge (removed):memory-footprint into master

Only read FDT into buffer, and then in case of external image, use lseek followed by sendfile if supported or otherwise read/write.

Remove unnecessary strdup of option arguments that would leak memory in case options are repeated.

Fix confusing error message with --attribute when --image is used to specify a non-existing image.

Edited by Erik Karlsson - Genexis

Merge request reports

Loading