Project

General

Profile

Actions

Bug #14152

closed

ld(1) should be more careful about empty alists

Added by Rich Lowe about 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

In various places in the link-editor we check whether a list is NULL to decide whether it is empty (this is, usually, the way the lists work). Unfortunately, this doesn't handle cases where a list has been created but has had something removed from it, we must check they're not NULL and have greater than 0 items.

This, for instance, can cause crashes when placing _end in an object which has had all input files discarded

Actions

Also available in: Atom PDF