[Seaside] WAImage class>>fromByteArray: fix

Michel Bany michel.bany at gmail.com
Fri Mar 9 09:20:45 UTC 2007

Hi Boris,
Thanks for this bugfix. I will update the public store asap.
It may take some time because I will try to publish something that  
works with both Seaside 2.6 and 2.7.

On 08 Mar 2007, at 20:05 , Boris Popov wrote:

> Just came across this when trying to load files less than 6 bytes in
> size where outer handler tests the file for being a picture by  
> catching
> NotAnImage exception; fix just adds the size check on the first line,
> WAImage class>>fromByteArray: aByteArray
>  | dim gifHeaders header |
>  aByteArray size < 6 ifTrue: [NotAnImage raise].
>  ...

More information about the Seaside mailing list