Source command with zero-sized files

Antony Pavlov antonynpavlov at gmail.com
Wed Nov 4 08:51:49 PST 2015


On Wed, 4 Nov 2015 16:41:42 +0100
Wjatscheslaw Stoljarski <wjatscheslaw.stoljarski at kiwigrid.com> wrote:

> Using source command (source <file> or . <file>) on zero-sized files crash barebox.
> Can anyone confirm this?

I can confirm this!

Here is sandbox log:

barebox at barebox sandbox:/ ls -l env/empty
-rwxrwxrwx              0 env/empty
barebox at barebox sandbox:/ source env/empty
Segmentation fault


-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list