Mondain wrote:
> Devs,
> I noticed a point where an NullPointerException may
occur in
> org.red5.io.amf.Input
>
> 1. Add update member to represent a default absolute
minimum value
>
> protected byte currentDataType = Byte.MIN_VALUE ;
>
> 2. Change the readDataType() method to always return
'something' and not
> cause an NPE
Hmm, shouldn't this better raise a proper exception instead
of returning
something that's not in the input buffer?
Joachim
_______________________________________________
Red5devs mailing list
Red5devs osflash.org
http://osflash.org/mailman/listinfo/red5devs_osflash.org
|