[Paraview] CVS version: minor problem

Moreland, Kenneth kmorel at sandia.gov
Wed Jun 25 11:11:10 EDT 2008


As you probably already suspect, the crash is caused by a buffer overrun during a sprintf call.  I did not fix the problem, but I made it less likely.  I changed the buffer size from 512 to 1024 (so 600 will work, but don't go to 6000).  I also changed the update mechanism so that the scalar bar does not update on every key entry into the label format widget but rather only when you hit enter or that widget loses focus.

-Ken

________________________________
From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org] On Behalf Of Hom Nath Gharti
Sent: Wednesday, June 25, 2008 12:59 AM
To: ParaView
Subject: [Paraview] CVS version: minor problem

If format specification width in ->Edit Color Map->Color Legend ->Label Format happens to be large number say 600 (accidentally may happen!), paraview crashes without any warning.

paraview: Latest CVS
OS: Windows Xp
qt: 4.4.0 (same problem with 4.3.4)

Many thanks,
Hom Nath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20080625/49b050d1/attachment-0001.htm>


More information about the ParaView mailing list