Skip to content

I think the yapdfkit should add more abnormal judgment #7

@daijianshusheng

Description

@daijianshusheng

I think the yapdfkit should add more abnormal judgment

bxqz.pdf

-(NSData*)getDecompressedData:(NSString*)filter
{
    if([filter isEqualToString:@"FlateDecode"])   //Here the interrupt
    {
        return deflateData(_rawData);
    }
    else if([filter isEqualToString:@"None"])
    {
        return _rawData;
    }
    else
    {
        return _rawData;
    }
    return nil;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions