Bug #1

Decoding an invalid string causes a stack overflow.

Added by Alan Kennedy 8 months ago. Updated 8 months ago.

Status:Closed Start:11/05/2009
Priority:Normal Due date:11/05/2009
Assigned to:Alan Kennedy % Done:

100%

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

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

Updated by Alan Kennedy 8 months ago

  • Assigned to set to Alan Kennedy

Updated by Alan Kennedy 8 months ago

  • Due date set to 11/05/2009
  • 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://downloads.xhaus.com/jyson/

Also available in: Atom PDF