From: <ai...@us...> - 2008-08-28 18:03:50
|
Revision: 8720 http://plplot.svn.sourceforge.net/plplot/?rev=8720&view=rev Author: airwin Date: 2008-08-28 18:03:57 +0000 (Thu, 28 Aug 2008) Log Message: ----------- Initialize new_state in plbuf_restore. Thanks to trc (Terrence) for bringing this bug to our attention. Modified Paths: -------------- trunk/src/plbuf.c Modified: trunk/src/plbuf.c =================================================================== --- trunk/src/plbuf.c 2008-08-28 04:29:00 UTC (rev 8719) +++ trunk/src/plbuf.c 2008-08-28 18:03:57 UTC (rev 8720) @@ -1151,7 +1151,7 @@ */ void plbuf_restore(PLStream *pls, void *state) { - struct _state *new_state; + struct _state *new_state = (struct _state *)state; #ifdef BUFFERED_FILE pls->plbufFile = new_state->save_file; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |