Jennifer Lopez had a close call in the fashion department yesterday as she sported a short pink dress while arriving at a CBS network building for a meeting in Burbank, Calif.

In photos obtained by X17online.com, the 43-year-old's legs are on full display in the flirty frock, which blew up thanks to a gust of wind. Luckily, J.Lo pulled the dress down before her panties were on full display as well.

The former "American Idol" judge -- who was just voted Star magazine's third most hated celebrity in Hollywood -- has been staying out of the spotlight recently, working on new music for her eighth studio album.

And yes, Lopez is still dating her much younger beau Casper Smart.

Check out more photos of J.Lo at X17Online.com.

jennifer lopez short dress

jennifer lopez short dress

Also on HuffPost:

Loading Slideshow...
  • Jennifer Lopez in 1997

  • Actress Jennifer Lopez, who plays Selena in the movie 'Selena,' performs in one of the scenes from the movie. 'Selena' is about the Tejano singer who is murdered by her fan club president.

  • On March 13th, 1997, Actress Jennifer Lopez (L) signs a poster for fans as she arrives for the world premiere of the film 'Selena' on in Hollywood. Lopez stars in the title role about the life and death of superstar Latina singer Selena.

  • Jennifer Lopez at the 1998 MTV Movie Awards. The program, hosted by Samuel L. Jackson, will be broadcast on MTV, Thursday, June 4, from 9-11 PM.

  • Jennifer Lopez arrives at the premiere of Columbia Pictures 'The Wedding Planner' January 23, 2001 at Loews Century Plaza Theatre in Century City, CA. (Photo by Chris Weeks/Liaison)

  • Jennifer Lopez arrives for the 73rd Annual Academy Awards on March 25, 2001 at the Shrine Auditorium in Los Angeles. Lopez is wearing a Chanel dress with hair by Oribe and makeup by Scott Barnes.

  • Actress Jennifer Lopez takes a break on the set of her upcoming movie 'Enough' on March 22, 2001 in Pasadena, CA.

  • Presenter Jennifer Lopez backstage at the 74th Annual Academy Awards held at the Kodak Theatre in Hollywood, California on March 24, 2002.

  • Jennifer Lopez arrives for the 2002 MTV Video Music Awards at Radio City Music Hall in New York City on August 29, 2002.

  • Jennifer Lopez arrives at the 11th annual Latin GRAMMY Awards at the Mandalay Bay Resort & Casino on November 11, 2010 in Las Vegas, Nevada.

  • Singer Jennifer Lopez speaks onstage during the 'American Idol' panel at the FOX Broadcasting Company portion of the 2011 Winter TCA press tour held at the Langham Hotel on January 11, 2011 in Pasadena, California.

  • American Idol Judge Jennifer Lopez attends Fox's 'American Idol' Finalist Party on March 3, 2011 in Los Angeles, California.

  • Jennifer Lopez arrives at Fox's 'American Idol' season 10 finale results show held at Nokia Theatre LA Live on May 25, 2011 in Los Angeles, California.

  • Jennifer Lopez on stage at UCLA Longevity Center's 20th Anniversary ICON Awards on June 4, 2011 in Beverly Hills, California.

  • Singer Jennifer Lopez arrives for an appearance at Pure Nightclub at Caesars Palace on September 25, 2011 in Las Vegas, Nevada.

  • Jennifer Lopez promotes her exclusive fashion and home collection for Kohl's Department Stores at Mohegan Sun on October 18, 2011 in Uncasville, Connecticut.

  • Women of the Year award winner Jennifer Lopez attends Glamour's 2011 Women of the Year Awards on November 7, 2011 in New York City.

  • Artist Jennifer Lopez and Atlantico Rum celebrate the upcoming Enrique Iglesias, Jennifer Lopez and Wisin & Yandel Tour at Boulevard3 on April 30, 2012 in Hollywood, California.

  • Actress Jennifer Lopez arrives at the premiere of Lionsgate's 'What To Expect When You're Expecting' held at Grauman's Chinese Theatre on May 14, 2012 in Hollywood, California.

  • Jennifer Lopez performs during the Q'Viva! The Chosen Live show at the Mandalay Bay Events Center on May 26, 2012 in Las Vegas, Nevada.

  • Jennifer Lopez attends her CD signing to celebrate her new album 'LOVE?' held at the Hard Rock Cafe Hollywood on May 3, 2011 in Hollywood, California.

  • Jennifer Lopez addresses the crowd as she celebrates the launch of her new single, 'Goin' In' at Hyde Bellagio at the Bellagio May 27, 2012 in Las Vegas, Nevada.