Bug in jinterface

Vlad Dumitrescu vlad_dumitrescu@REDACTED
Mon Aug 22 21:25:29 CEST 2005


Hi,

The OtpOutputStream implementation in jinterface is not conforming to the 
external distribution format: method write_string doesn't check if the 
length is >= 65536, when the sitring should be output with a listTag, not a 
stringTag.

The patch is (sorry, but I have a modified version of the file and the line 
numbers don't match)

-            if (bytebuf.length == len && len < 65535)
+            if (bytebuf.length == len)

regards,
Vlad




More information about the erlang-bugs mailing list