Skip to content

Incorrect Results for Parssing Data Time #196

Open
@OrianeK

Description

@OrianeK

Hi,
I am a high school student just starting to learn about testing techniques. I found a bug in the latest version (0.6.1) of maya while doing some fuzzing using the fuzzing tool Atheris. The reproducing process is shown below:

maya.parse('may15,2021').datetime()

result
datetime.datetime(2022, 5, 15, 0, 0, tzinfo=<UTC>)

my Environment

Python 3.8.10 (default, Mar 15 2022, 12:22:08) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import maya
>>> print(maya.__version__)
0.6.1
>>> 

I am not very sure about the bug so I would very much appreciate any kind of feedback regarding it.
Thanks.

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