Page MenuHomePhabricator

convertZObjectToBinary Must Check an Object Is in Valid Normal Form
Open, Needs TriagePublicBUG 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.):