[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#927138: marked as done ([src:wine-development)



Your message dated Mon, 15 Apr 2019 16:14:42 +0300
with message-id <CAM=L6y7L-TFB3DEniHmXw9ZLA3NV+uMpzk7bTp01kN5cxoKUmA@mail.gmail.com>
and subject line 
has caused the Debian Bug report #927138,
regarding [src:wine-development
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
927138: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927138
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: wine-development
Version: 4.2-2

wineserver fails to setup it's directory when /run/user/${pid} is not
available due to buggy patch.
please fix debian/patches/fixes/temporary-directory.patch:

line 65:
-+            tmp_dir = xmalloc( sizeof(tmp_env) );
++            tmp_dir = xmalloc( strlen(tmp_env) + 1 );

line 110:
-+            n = fputs( root + sizeof(tmp_dir) + 1, stream );
++            n = fputs( root + strlen(tmp_dir) + 1, stream );

bug is caused by copy-paste mistake, because tmp_env and tmp_dir are
type of "char *", not "char []", therefore sizeof() isn't equal to
strlen() + 1.

--
SY,
Konstantin Demin

--- End Message ---
--- Begin Message ---
Bad subject, please delete and ignore.

--- End Message ---

Reply to: