Anatomy

Which of the following nerve injury gives positive Trendelenburg test?