+2009-08-06 Petr Machata <pmachata@redhat.com>
+
+ * libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
+ if we have any strings to copy.
+
2009-07-26 Mark Wielaard <mjw@redhat.com>
* eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
the offset members of the elfstrent records. */
char *endp = (char *) data->d_buf + nulllen;
size_t copylen = nulllen;
- copystrings (st->root, &endp, ©len);
+ if (st->root)
+ copystrings (st->root, &endp, ©len);
assert (copylen == st->total + nulllen);
}