Prevent an illegal memory access when comparing the prefix of a section name regexp.

	PR 29849
	* ldlang.c (spec_match): Check that there is sufficient length in
	the target name to match the spec's prefix.
2 files changed