Page MenuHomePhabricator

convertZObjectToBinary Must Check an Object Is in Valid Normal Form
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • call convertZObjectToBinary on an object like { Z6K1: "DEGENERATE" }
  • watch maximum size be exceeded

What happens?:
Infinite recursion!

What should have happened instead?:
Function should recognize that the Z6 was degenerate and throw an error.

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Details

TitleReferenceAuthorSource BranchDest Branch
Update function-schemata sub-module to HEAD (5db8cea)repos/abstract-wiki/wikifunctions/function-orchestrator!158apinesync-function-schematamain
Update function-schemata sub-module to HEAD (a4a7edf)repos/abstract-wiki/wikifunctions/wikilambda-cli!35jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (a4a7edf)repos/abstract-wiki/wikifunctions/function-evaluator!202jforrestersync-function-schematamain
Update function-schemata sub-module to HEAD (a4a7edf)repos/abstract-wiki/wikifunctions/function-orchestrator!152jforrestersync-function-schematamain
Prevent infinite recursion when a ZObject is degenerate.repos/abstract-wiki/wikifunctions/function-schemata!105apineapine-no-degeneracy-evermain
Customize query in GitLab

Event Timeline

cmassaro changed the task status from Open to In Progress.Mar 20 2024, 7:35 PM
cmassaro claimed this task.
cmassaro moved this task from Backlog to In Progress on the Abstract Wikipedia team board.

Change #1016818 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (a4a7edf)

https://gerrit.wikimedia.org/r/1016818

Change #1017060 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-03-05-140533 to 2024-04-04-132719

https://gerrit.wikimedia.org/r/1017060

Change #1017061 had a related patch set uploaded (by Jforrester; author: Jforrester):

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-02-26-150300 to 2024-04-03-210033

https://gerrit.wikimedia.org/r/1017061

Change #1017060 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade orchestrator from 2024-03-05-140533 to 2024-04-04-132719

https://gerrit.wikimedia.org/r/1017060

Change #1017061 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2024-02-26-150300 to 2024-04-03-210033

https://gerrit.wikimedia.org/r/1017061

Change #1016818 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Update function-schemata sub-module to HEAD (5db8cea)

https://gerrit.wikimedia.org/r/1016818