Skip to content
  • Philip Withnall's avatar
    gvariant: Check array offsets against serialised data length · 5e0b12df
    Philip Withnall authored
    
    
    When getting a child from a serialised variable array, check its offset
    against the length of the serialised data of the array (excluding the
    length of the offset table). The offset was already checked against the
    length of the entire serialised array (including the offset table) — but a
    child should not be able to start inside the offset table.
    
    A test is included.
    
    oss-fuzz#9803
    
    Signed-off-by: default avatarPhilip Withnall <withnall@endlessm.com>
    5e0b12df