On Thu, Mar 11, 2010 at 9:14 AM,  <[email protected]> wrote:
> You might want to add another assert (with slight rework) into
> Log::GetLogLines
> in src/log-utils.cc:
>
> ln. 198: ASSERT(end_pos - dest_buf > 1);
>
> (maybe adding actual_size > 0)
>
> to check that you never trim the line completely.

Or even simpler: ASSERT(actual_size > 0) on this path (after if
(acutal_size == 0) return 0 statement).

yours,
anton.

-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to