[PATCH 0/3] Fix opening empty path

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

 



barebox currently crashes when an empty path is passed to open().
This can be provoked with doing a 'nfs foo ""' on the command line. This
series fixes the issue.

Sascha Hauer (3):
  fs: check for empty name in getname()
  fs: check for valid name in filename_lookup()
  fs: check getname() return value in open()

 fs/fs.c | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

-- 
2.29.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux