Re: connection: add sanity check to avoid buffer overflow

2017-10-19 Thread Boram Park
described, but on the other hand why are you (or anyone) needing to call internal, non-exported libwayland functions? ?? On Thu, Oct 19, 2017 at 3:11 AM Boram Park <mailto:boram1288.p...@samsung.com>> wrote: On 2017년 09월 28일 00:13, Derek Foreman wrote: > On 2017-09-26 10

Re: connection: add sanity check to avoid buffer overflow

2017-10-19 Thread Boram Park
On 2017년 09월 28일 00:13, Derek Foreman wrote: On 2017-09-26 10:46 AM, Sergi Granell wrote: On Thu, 2017-09-14 at 09:21 +0900, Boram Park wrote: Before putting data into a buffer, we have to make sure that the data size is smaller than not only the buffer's full size but also the buf

[PATCH] connection: add sanity check to avoid buffer overflow

2017-09-13 Thread Boram Park
Before putting data into a buffer, we have to make sure that the data size is smaller than not only the buffer's full size but also the buffer's empty size. https://bugs.freedesktop.org/show_bug.cgi?id=102690 Signed-off-by: Boram Park Acked-by: Pekka Paalanen --- src/connec

[PATCH] client: use the thread reader_count to fix deadlock.

2016-04-12 Thread Boram Park
increased because it means this thread is still polling in somewhere. Signed-off-by: Boram Park --- src/wayland-client.c | 79 +++- 1 file changed, 78 insertions(+), 1 deletion(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 33033e