|
From: Jorrit T. <jo...@us...> - 2001-04-18 19:27:01
|
Date: Wednesday April 18, 2001 @ 12:27
Author: jorrit
Update of /cvsroot/crystal/CS/plugins/cscript/cspython
In directory usw-pr-cvs1:/tmp/cvs-serv13415/plugins/cscript/cspython
Modified Files:
cs_pyth.cpp
Log Message:
Fixed several bugs reported by a memory checker:
- In archive.cpp: free (buffer) with buffer == NULL.
- Fixed a bug in plasma procedural texture. It was sometimes
trying to access palette index 256 which is one out of bounds.
I fixed this by adding an overflow test for this which is
probably not the best way.
- Found a bad memory access in the software texture
cache. This is a bit more complicated so I did
not fix it yet but put a '@@@' comment there.
This bug could very well be the cause for the
bad texture cache contents that happens with very
thin polygons.
|