Skip to content

various issues cancel found in the c version, some of which pose security risks #6

@makoConstruct

Description

@makoConstruct
  • restrict for strings
  • isStr has issue with casting to a non-compatible type under strict-aliasing
  • security issue with line buffer resizing, ensure that the line is not so large that the length value overflows. OOM error if it is.
  • replace most uint32_ts with usizes
  • reorder structs for packing
  • move the tag to outer struct?
  • remove freeIfSome, free already does that check
  • consider arena allocation for both rust and C versions
  • isStr should return a bool, otherwise it doesn't clarify anything
  • remove snowman

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions