Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leak inside CPDF_Parser::LoadCrossRefV5 #161

Open
GoogleCodeExporter opened this issue May 28, 2015 · 0 comments
Open

Leak inside CPDF_Parser::LoadCrossRefV5 #161

GoogleCodeExporter opened this issue May 28, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Triggered by 2_12_blank.pdf and 
ction_go_to_a_page_view_the_original_file_name_go_to_tections_.pdf:

1,502 (56 direct, 1,446 indirect) bytes in 1 blocks are definitely lost in loss 
record 63 of 63
   at 0x4C2FE0A: operator new(unsigned long) (vg_replace_malloc.c:298)
   by 0x5A6227: CPDF_SyntaxParser::ReadStream(CPDF_Dictionary*, PARSE_CONTEXT*, unsigned int, unsigned int) (fpdf_parser_parser.cpp:2495)
   by 0x5A4FF5: CPDF_SyntaxParser::GetObject(CPDF_IndirectObjects*, unsigned int, unsigned int, PARSE_CONTEXT*, int) (fpdf_parser_parser.cpp:2221)
   by 0x5A201A: CPDF_Parser::ParseIndirectObjectAt(CPDF_IndirectObjects*, long, unsigned int, PARSE_CONTEXT*) (fpdf_parser_parser.cpp:1400)
   by 0x59FCA3: CPDF_Parser::LoadCrossRefV5(long, long&, int) (fpdf_parser_parser.cpp:998)
   by 0x5A308E: CPDF_Parser::LoadLinearizedAllCrossRefV5(long) (fpdf_parser_parser.cpp:1629)
   by 0x5A32F3: CPDF_Parser::LoadLinearizedMainXRefTable() (fpdf_parser_parser.cpp:1670)
   by 0x5AC578: CPDF_DataAvail::CheckLinearizedData(IFX_DownloadHints*) (fpdf_parser_parser.cpp:4348)
   by 0x5AD25C: CPDF_DataAvail::IsFormAvail(IFX_DownloadHints*) (fpdf_parser_parser.cpp:4591)
   by 0x4449C9: FPDFAvail_IsFormAvail (fpdf_dataavail.cpp:157)
   by 0x40A1EF: RenderPdf(std::string const&, char const*, unsigned long, Options const&) (pdfium_test.cc:470)
   by 0x40A92F: main (pdfium_test.cc:613)

Original issue reported on code.google.com by [email protected] on 15 May 2015 at 9:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant