The source project of this merge request has been removed.
Do not read entire file into buffer when extracting
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