Skip to content

Failed test bash -c "DPP_RUN_ERROR_CASE=1 ./runtest "Error cases regression tests" + "General documents valid regression tests"" #596

@github-actions

Description

@github-actions

This issue is generated by Vulcan for commit: bcd2a7d

Coverage: 61.53 percent

Click here for a list of target sources

usr/include/x86_64-linux-gnu/bits/string_fortified.h

parser.c

usr/include/x86_64-linux-gnu/bits/stdio2.h

There is(are) 1/17 failed test(s)

Click here for the failed test commands
  1. [FAILED] bash -c "DPP_RUN_ERROR_CASE=1 ./runtest "Error cases regression tests" + "General documents valid regression tests""

Clicking on the link, you take the page with code highlighted.
There are a lot of the suspicious code snippets and show 5 among them.
Recommend that split your tests or adde new tests.

Click here for FL information

Suspicious score: 1.00

case XML_ERR_INTERNAL_ERROR:


Suspicious score: 1.00

errmsg = "internal error";


Suspicious score: 1.00

break;


Suspicious score: 1.00

case XML_ERR_ELEMCONTENT_NOT_FINISHED:


Suspicious score: 1.00

errmsg = "ContentDecl : ',' '|' or ')' expected";


1 patch(es) generaetd by vulcan

plausible patch diff info
--- __backup0	2022-12-02 00:44:05.336543270 +0000
+++ parser.c	2022-12-02 00:50:05.514354211 +0000
@@ -8467,7 +8467,11 @@
      * We should be at the end of the DOCTYPE declaration.
      */
     if (RAW != '>') {
-	xmlFatalErr(ctxt, XML_ERR_DOCTYPE_NOT_FINISHED, NULL);
+	{
+    xmlFatalErr(ctxt, XML_ERR_DOCTYPE_NOT_FINISHED, ((void *)0));
+    if ((1))
+        return;
+}
     }
     NEXT;
 }

Metadata

Metadata

Assignees

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