PR26418 UBSAN: cache.c:386 null pointer fwrite
authorAlan Modra <amodra@gmail.com>
Fri, 28 Aug 2020 12:15:49 +0000 (21:45 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 28 Aug 2020 12:29:29 +0000 (21:59 +0930)
commit7ca371dba5d612ff1cdaa4ffe33474c1993fbe7f
tree5b2f3965c24591eed626395018170690c36a63c3
parent1e597a89971e781f5c33d75009b2cbf26323d2a5
PR26418 UBSAN: cache.c:386 null pointer fwrite

The previous "fix" tested the wrong value.

PR 26418
* ecofflink.c (WRITE): Really don't write zero size chunks.
bfd/ChangeLog
bfd/ecofflink.c