ONE icon indicating copy to clipboard operation
ONE copied to clipboard

[compiler] Fix static analysis defect

Open chunseoklee opened this issue 11 months ago • 0 comments

static analyzer commented about

https://github.com/Samsung/ONE/blob/08e12522017d5fa1a97e6c497b354efed2064d52/compiler/luci/service/src/ShapeInfer_StridedSlice.cpp#L297

11. cast_overflow: Truncation due to cast operation on effective_dims from 64 to 32 bits.
     	
CID 1757292: (#2 of 2): Overflowed integer argument (INTEGER_OVERFLOW)
12. overflow_sink: effective_dims, which might have overflowed, is passed to op_context->effective_input_shape.rank(effective_dims).

PTAL @Samsung/one_compiler

chunseoklee avatar Mar 07 '24 04:03 chunseoklee