[Security][Double Free] fclose() can be called twice
■ 위치 :
service/easy-setup/sampleapp/enrollee/tizen/EnrolleeGUISample/src/enrolleewifi.cpp:131
■ 내용 :
source 및 target에 대한 fopen() NULL check 시에 NULL인 경우에도 return을 하지 않아 함수 말미에서 double free 발생(crash 발생)
■ 대응 방안 :
115, 123 라인 후에 return 구문 삽입
■ 비고 (사용된 Tool 또는 환경 등)
IoTivity_1.1.0_RC1
============= Defect 수정 관련 Comment 내용 요청사항 ==========
-
git commit ID 또는 gerrit 링크 명시
-
=========================================================
JIRA migration meta data
- JIRA Issue ID: IOT-1051
- Reporter: jspark
- Assignee: jspark
- Creator: jspark
- Created at: 2016-03-29T00:14:58.000-0700
- Found in Version: 1.1.0
- Fix in Version: 1.1.0
- Issue Severity: Major
- Reproducibility: Always (100%)
- Operating System: Ubuntu
- Hardware/ OEM Platform: None
- External URL: None
- Bugzilla ID: None
- Product: None
- Status: Closed
- Components: Sample Application
- Priority: Undecided
- Due Date: None
-
Issue Type: Bug
END of JIRA migration meta data