[sdljava-users] Fix for BufferUtils
Status: Beta
Brought to you by:
ivan_ganza
From: Robert S. <the...@gm...> - 2005-04-18 22:10:03
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, please apply this patch to fix a problem in BufferUtils.readInputStream(). The big buffer holding all the data of the smaller ones was not correctly set into the state where the data could be read afterwards. This caused a buffer overflow. Well, just flipping the buffer state fixes this. Along with this small fix I changed the minimum buffer size to 8192 (was 1024) which will cause the creation of fewer intermediate buffer for big files. cu Robert -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFCZDCdG9cfwmwwEtoRArIJAJ47sko+U8pihBUvM322WQ/TNsPc6QCgkCrX fyYHS7d/TKSO3flF2/hbMds= =eHuJ -----END PGP SIGNATURE----- |