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