Meltdown and Spectre mitigations — a February update
Meltdown and Spectre mitigations — a February update
Posted Feb 6, 2018 1:38 UTC (Tue) by roc (subscriber, #30627)Parent article: Meltdown and Spectre mitigations — a February update
Has anyone discussed how array_index_nospec behaves when the array is empty? Seems to me that it allows speculation based on what would be at the first element of the array.
I guess in common cases the array is either statically known to be non-empty or the data pointer for an empty array would be null, but it may be a potential footgun. I can't find any discussion of this.
