> -----Original Message----- > From: Ian Romanick [mailto:i...@freedesktop.org] > Sent: Thursday, March 04, 2010 3:17 PM > To: mesa3d-dev > Subject: Re: [Mesa3d-dev] Mesa (master): glsl/pp: Add asserts to check for > null pointer deferences. > > > What is the benefit of adding all these NULL pointer assertions? I > don't see a big benefit of an assertion failure vs. a segfault. > > I'm just curious.
For static analysis with Coverity Prevent, the added assert will clear a defect report and/or allow it to continue parsing to the next possible defect. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev