Possible crash fix for xmlCleanupParser

From: Neel Patel <neel(dot)patel(at)enterprisedb(dot)com>
To: Dave Page <dave(dot)page(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Possible crash fix for xmlCleanupParser
Date: 2013-08-12 11:28:08
Message-ID: CAMcbDBGWLrE7Nx6VN_SQD16E8bw=33bv4-bHOp=SoGhNV25YTg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave,

Please find attached patch for the below issue in pgAdmin.

"As per libxml2 document (below link) we should call xmlCleanupParser()
only one time when the application exists not every time when we compute
the xml parser. As per the document application may crash if another thread
or plugin still using the libxml2".

http://xmlsoft.org/html/libxml-parser.html#xmlCleanupParser

Kindly review it and let me know for any modification.

Thanks,
Neel Patel

Attachment Content-Type Size
xmlParser.patch application/octet-stream 705 bytes

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2013-08-12 12:28:13 Re: Possible crash fix for xmlCleanupParser
Previous Message Dave Page 2013-08-07 08:06:21 pgAdmin III commit: Correct the version number for a fix following a ch