[Tizen-submit] 3462: Changes to Tizen:2.1:Main/emuld

noreply at tizen.org noreply at tizen.org
Thu May 2 04:52:05 GMT 2013


Hi,
Jinkun Jang have made the following changes to emuld in project Tizen:2.1:Main. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #3462

  submit:       Tizen:2.1:Main:build/emuld(cleanup) -> Tizen:2.1:Main


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: upload latest
Git project: sdk/emulator-daemon
Tag: submit/tizen_2.1/20130502.045246
Commit: 9b8fe67 emuld : reduce buffer size to send to guest server

State:   new        2013-05-01T21:22:39 tizenrobot
Comment: <no comment>
old:
----
  emuld-0.2.36.tar.gz

new:
----
  emuld-0.2.37.tar.gz

spec files:
-----------
--- emuld.spec
+++ emuld.spec
@@ -1,8 +1,8 @@
 #git:/slp/pkgs/e/emulator-daemon
 Name: emuld
-Version: 0.2.36
+Version: 0.2.37
 Release: 1
-VCS:        sdk/emulator-daemon#submit/tizen_2.1/20130426.142414-0-g9b0317b
+VCS:        sdk/emulator-daemon#submit/tizen_2.1/20130502.045246-0-g9b8fe67
 Summary: emuld is used for communication emulator between and ide.
 License: Apache
 Source0: %{name}-%{version}.tar.gz

other changes:
--------------

++++++ emuld-0.2.36.tar.gz -> emuld-0.2.37.tar.gz
--- /packaging/emuld.spec
+++ /packaging/emuld.spec
@@ -1,6 +1,6 @@
 #git:/slp/pkgs/e/emulator-daemon
 Name: emuld
-Version: 0.2.36
+Version: 0.2.37
 Release: 1
 Summary: emuld is used for communication emulator between and ide.
 License: Apache
--- /src/emuld.c
+++ /src/emuld.c
@@ -1304,7 +1304,7 @@
 		return;
 	}
 
-	char buf[64];
+	char buf[32];
 	struct sockaddr_in si_other;
 	int s, slen=sizeof(si_other);
  	FILE* fd;
@@ -1338,7 +1338,7 @@
 	}
 
 	memset(buf, '\0', sizeof(buf));
-	snprintf(buf, 60, "4\n%s", databuf);
+	snprintf(buf, sizeof(buf), "4\n%s", databuf);
 
 	LOG("sendGuestServer msg: %s", buf);
 	if(sendto(s, buf, sizeof(buf), 0, (struct sockaddr*)&si_other, slen) == -1)


More information about the Tizen-submit mailing list