From 2c05c4235b217564718005df8b4cf971512a6ab2 Mon Sep 17 00:00:00 2001 From: hyunuktak Date: Wed, 2 Mar 2016 19:17:57 +0900 Subject: [PATCH] Fixed a svace for 27988 Change-Id: I0183d69545e9d98e2980b8d8ff3634704278f0e0 Signed-off-by: hyunuktak --- packaging/net-config.spec | 2 +- src/wifi-power.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/net-config.spec b/packaging/net-config.spec index 5805fea..91a9f21 100755 --- a/packaging/net-config.spec +++ b/packaging/net-config.spec @@ -1,6 +1,6 @@ Name: net-config Summary: TIZEN Network Configuration service -Version: 1.1.54 +Version: 1.1.55 Release: 2 Group: System/Network License: Apache-2.0 diff --git a/src/wifi-power.c b/src/wifi-power.c index 988d6ce..100abb0 100755 --- a/src/wifi-power.c +++ b/src/wifi-power.c @@ -326,7 +326,7 @@ static void __netconfig_set_wifi_bssid(void) } fseek(fp, 0L, SEEK_SET); - rv = fscanf(fp, "%s", bssid); + rv = fscanf(fp, "%17s", bssid); if (rv < 0) ERR("Fail to read bssid"); -- 2.34.1