Project

General

Profile

Actions

Bug #1

closed

Decoding an invalid string causes a stack overflow.

Added by Alan Kennedy over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
2009-11-05
Due date:
2009-11-05
% Done:

100%

Estimated time:
2.00 h

Description

Jyson blows the stack when decoding the invalid input "[". The following code illustrates

#-------------------------------------
from com.xhaus.jyson import JysonCodec

codec = JysonCodec()
codec.loads("[")
#-------------------------------------

Thanks to Arto Vuori for reporting this issue.

Actions

Also available in: Atom PDF