Oct. 5, 2007
3:41 a.m.
Author: neal.norwitz Date: Fri Oct 5 05:41:19 2007 New Revision: 58330 Modified: python/trunk/Python/ast.c Log: Fix Coverity #158: Check the correct variable. Modified: python/trunk/Python/ast.c ============================================================================== --- python/trunk/Python/ast.c (original) +++ python/trunk/Python/ast.c Fri Oct 5 05:41:19 2007 @@ -1468,7 +1468,7 @@ tmp_result = BinOp(result, newoperator, tmp, LINENO(next_oper), next_oper->n_col_offset, c->c_arena); - if (!tmp) + if (!tmp_result) return NULL; result = tmp_result; }
6981
Age (days ago)
6981
Last active (days ago)
0 comments
1 participants
participants (1)
-
neal.norwitz