This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] More out-of-bounds array accesses


Hi,
> ...
>
> There are appearantly also some here (but I'm not 100% sure)
>
> FAIL: 25_algorithms/heap/1.cc execution test
>   
I had a quick look to this: I replaced every C array with a std::vector
of the same size (+ mechanically replaced, say, s1, with s1.begin()),
and built the testcase with -D_GLIBCXX_DEBUG. No errors at run time.
Thus, I'm pretty confident that should be ok.

Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]