mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-12 14:25:24 +01:00
Fixes https://github.com/fosslinux/live-bootstrap/issues/281. This is adding a null pointer check to `fill_local_got_entries` in tcc 0.9.27. This is rather a workaround because I am not sure if it is legit for that pointer to be null.
6 lines
158 B
Text
6 lines
158 B
Text
static void fill_local_got_entries(TCCState *s1)
|
|
{
|
|
ElfW_Rel *rel;
|
|
if (!s1->got->reloc)
|
|
return;
|
|
for_each_elem(s1->got->reloc, 0, rel, ElfW_Rel) {
|