Fix SVACE issue 47/119347/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Thu, 16 Mar 2017 11:02:07 +0000 (20:02 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Thu, 16 Mar 2017 11:05:41 +0000 (20:05 +0900)
[Model] COMMON
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A

[Problem] There was fall through issue in switch-case statement.
 It is reported by SVACE as critical issue.
[Cause & Measure] Add break in proper place.
[Checking Method] btsnoop -s xxx.log

[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change

Change-Id: I764061a36e9a398de85c65b02ac56bb71aa32144

tools/btsnoop.c

index a9b7f3c..b7c2e60 100644 (file)
@@ -688,6 +688,7 @@ int main(int argc, char *argv[])
                case 's':
                        command = SPLIT;
                        input_path = optarg;
+                       break;
 #endif
                case 't':
                        type = optarg;