one of her lines was anchored on broey 's corridor to the rim , one line on the river wall with its single gate , and the rest of her perimeter meandered through a series of dangerous salients from the fifth wall to the river .