Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
L
libxml2
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 69
    • Issues 69
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GNOME
  • libxml2
  • Issues
  • #77

Closed
Open
Opened Jul 29, 2019 by Zhongyuan Zhou@zaneChou

There is a low probability that a NULL reference occur int v2.9.9.

In the source file xpath.c, at Line 8700, the function call to xmlXPathCacheConvertString(ctxt->context, obj) may return null pointer.

    8700   obj = xmlXPathCacheConvertString(ctxt->context, obj);
    8701   ret = xmlXPathGetElementsByIds(ctxt->context->doc, obj->stringval);

Zhe funtion of xmlXPathCacheConvertString(ctxt->context, obj) call to xmlXPathCacheNewCString(ctxt, "") may return null pointer.

    2682   return(xmlXPathCacheNewCString(ctxt, ""));
    2683   return(xmlXPathCacheWrapString(ctxt, res));

Zhe funtion of xmlXPathCacheNewCString(ctxt, "") call to xmlXPathNewCString(val) may return null pointer.

    2843    return(xmlXPathNewCString(val));

Zhe funtion of xmlXPathNewCString(val) may return null pointer.

    5343    return(NULL);
Edited Aug 07, 2019 by Zhongyuan Zhou
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: GNOME/libxml2#77