openembedded/oe-core — pull request #8 by scallopedllama (2014-02-05 16:45:50+00:00)
Title: Fix relocation crash when processing tiny files

While processing the files inside the SDK, relocate_sdk.py will crash if it encounters any files that are smaller that 16 bytes long. Add a check to get_arch() on the length of the data read and return 0 if fewer than 16 bytes were read.

I ran into an issue when adding libraries to the SDK that contained empty files and crashed the SDK installer.