Bug #1

Decoding an invalid string causes a stack overflow.

Added by Alan Kennedy almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:2009-11-05
Priority:NormalDue date:2009-11-05
Assignee:Alan Kennedy% Done:

100%

Category:-Estimated time:2.00 h
Target version:1.0.1

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.

History

#1 Updated by Alan Kennedy almost 8 years ago

  • Assignee set to Alan Kennedy

#2 Updated by Alan Kennedy almost 8 years ago

  • Due date set to 2009-11-05
  • Status changed from New to Closed
  • Target version set to 1.0.1
  • % Done changed from 0 to 100
  • Estimated time set to 2.00

This bug has been fixed and a new version released, version 1.0.1. You can download the new version from here

http://opensource.xhaus.com/projects/jyson/files

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 10 MB)