Fix read buffer overflow in split_directories
authorTim Ruehsen <tim.ruehsen@gmx.de>
Fri, 6 Dec 2019 22:20:06 +0000 (22:20 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 6 Dec 2019 22:20:06 +0000 (15:20 -0700)
commit1cd4fe3d4302f0db3dd38c720c69f0c51137ff13
treed2af2546bc2fe82d48c1104cef672f76d02bee40
parent070455950d3234009059b252d9b5f393682d20c6
Fix read buffer overflow in split_directories

        * make-relative-prefix.c (split_directories):
        Return early on empty 'name'

From-SVN: r279068
libiberty/ChangeLog
libiberty/make-relative-prefix.c