From: Seungho, Baek Date: Tue, 17 Sep 2019 05:37:15 +0000 (+0900) Subject: Fix Coverity issue X-Git-Tag: dali_1.5.0~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2772bbd2a3088b3f6782e66155e4b4bbaa1e83f1;p=platform%2Fcore%2Fuifw%2Fdali-extension.git Fix Coverity issue Change-Id: Ieacf496dbf6152b26a8d2f8bdbf26235e3aba355 --- diff --git a/dali-extension/internal/evas-plugin/evas-event-handler.cpp b/dali-extension/internal/evas-plugin/evas-event-handler.cpp index 514cfd8..6445a25 100644 --- a/dali-extension/internal/evas-plugin/evas-event-handler.cpp +++ b/dali-extension/internal/evas-plugin/evas-event-handler.cpp @@ -268,7 +268,7 @@ void FillIntegrationKeyEvent( Type keyEvent, Integration::KeyEvent& result ) } // KeyCode - if( !strncmp( keyEvent->keyname, "Keycode-", 8 ) ) + if( keyEvent->keyname && !strncmp( keyEvent->keyname, "Keycode-", 8 ) ) { result.keyCode = atoi( keyEvent->keyname + 8 ); }