ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] rev 41925: /trunk/epan/dissectors/ /trunk/epan/dissectors/:

Date: Wed, 04 Apr 2012 14:42:26 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41925

User: morriss
Date: 2012/04/04 07:42 AM

Log:
 Avoid false-positive CID 621: if str is non-NULL, idx should be positive
 (so idx won't be negative when used in the else statement).  To avoid
 this false positive, add a check if idx is negative to the if(str) check.
 
 Also remove some trailing commas.

Directory: /trunk/epan/dissectors/
  Changes    Path                     Action
  +18 -15    packet-gsm_a_bssmap.c    Modified