| Bug ID | 
          8517
           | 
        
        
          | Summary | 
          Misuse of *_idx value string API
           | 
        
        
          | Classification | 
          Unclassified
           | 
        
        
          | Product | 
          Wireshark
           | 
        
        
          | Version | 
          SVN
           | 
        
        
          | Hardware | 
          All
           | 
        
        
          | OS | 
          All
           | 
        
        
          | Status | 
          CONFIRMED
           | 
        
        
          | Severity | 
          Major
           | 
        
        
          | Priority | 
          Low
           | 
        
        
          | Component | 
          Dissection engine (libwireshark)
           | 
        
        
          | Assignee | 
          [email protected]
           | 
        
        
          | Reporter | 
          [email protected]
           | 
        
      
        
        Build Information:
--
Discovered while poking through bug #8467 (itself a byproduct of bug #8461).
The *_idx functions in value_string.c can set the index to -1. There are
several places where these values are being used directly as array indices
without first checking for -1.
The one that caught my eye was packet-gsm_a_dtap.c around line 6432, but there
are others. Discussed briefly on -dev at:
https://www.wireshark.org/lists/wireshark-dev/201303/msg00219.html
         
      
      
      You are receiving this mail because:
      
      
          - You are watching all bug changes.