[Security][Vulnerable Function] strcat() is used without length consideration
■ 위치 :
resource/csdk/stack/src/oicgroup.c:814
■ 내용 :
문자열 길이에 대한 고려 없이 strcat()함수 사용
(해당 함수 내 유사 case 다수)
■ 대응 방안 :
가능한 문자열 최대길이 고려하여 strncat() 함수 사용 권고
■ 비고 (사용된 Tool 또는 환경 등)
IoTivity_1.1.0_RC1
============= Defect 수정 관련 Comment 내용 요청사항 ==========
-
git commit ID 또는 gerrit 링크 명시
-
=========================================================
JIRA migration meta data
- JIRA Issue ID: IOT-1050
- Reporter: jspark
- Assignee: jihun.ha
- Creator: jspark
- Created at: 2016-03-29T00:09:24.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:
https://gerrit.iotivity.org/gerrit/#/c/7553/ - Bugzilla ID: None
- Product: None
- Status: Closed
- Components: Build System
- Priority: Undecided
- Due Date: None
-
Issue Type: Bug
END of JIRA migration meta data