nidhi0512 / cxtest1

0 stars 0 forks source link

CX Integer_Overflow @ src/attendancems_with_prepared22/NewTeacherInternalFrame.java [main] #26

Open nidhi0512 opened 2 years ago

nidhi0512 commented 2 years ago

Integer_Overflow issue exists @ src/attendancems_with_prepared22/NewTeacherInternalFrame.java in branch main

The val...

Severity: Low

CWE:190

Vulnerability details and guidance

Checkmarx

Training Recommended Fix

Lines: 376


Code (Line #376):

int a = c.st.executeUpdate("insert into tbl_teacher values ("+jLabel7.getText()+",'"+jTextField1.getText().trim() +"','"+jTextField2.getText().trim()+"','"+jTextField3.getText().trim()+ "','"+jComboBoxStatus.getSelectedItem()+"','"+d.trim()+"')");

nidhi0512 commented 2 years ago

Issue still exists.