From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 125016EC5A; Thu, 2 Sep 2021 16:21:38 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 125016EC5A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1630588898; bh=xpVjJSDqgM/3ZSS86ObgsehQ6HbtP+gO6cvdsVKkWyM=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=PUddaBNf9Xtz3Tz03h4mJT1o5W1mSX1NNDVpbV5C8D/u/tq5aJ8/1OOsprc+FhWSH aqMUjVrKVhQhY3yzRcc8I69vM76nmZlGDex65k3oydL2pYWIOdQfVckLjy8KQFjJ0R Ptqr0o9BVxE79/P4uS/AIqwnkM6mgMeIMj49C9J8= Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 0F2696EC5A for ; Thu, 2 Sep 2021 16:21:37 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0F2696EC5A Received: by smtp61.i.mail.ru with esmtpa (envelope-from ) id 1mLmeu-0000Ed-5X; Thu, 02 Sep 2021 16:21:36 +0300 To: v.shpilevoy@tarantool.org, gorcunov@gmail.com Date: Thu, 2 Sep 2021 16:21:32 +0300 Message-Id: X-Mailer: git-send-email 2.30.1 (Apple Git-130) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9D96C1EA41D18F4D5B168DC3F7DB30EB4BE25CD3FBE4D8277182A05F5380850400C9A281DF0F21F408AF0E076C834DE143094610D97C571353E53D6D257C8AE5A X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7CA8E915ACC910FBDEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637D24CDE3D695BBBC6EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BBCA57AF85F7723F21E535A061D4726A56935BA170BE6A821CC7F00164DA146DAFE8445B8C89999728AA50765F7900637D0FEED2715E18529389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC81D471462564A2E19F6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA73AA81AA40904B5D9A18204E546F3947CCE4AEF6198D26326AD7EC71F1DB884274AD6D5ED66289B52698AB9A7B718F8C46E0066C2D8992A16725E5C173C3A84C3AE74DA0800744AAFBA3038C0950A5D36B5C8C57E37DE458B0BC6067A898B09E46D1867E19FE14079C09775C1D3CA48CF3D321E7403792E342EB15956EA79C166A417C69337E82CC275ECD9A6C639B01B78DA827A17800CE70BB89B22BF4660DC731C566533BA786AA5CC5B56E945C8DA X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A213B5FB47DCBC3458834459D11680B505787424CA4B8D59C34F31CC79B35E4067 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C416511BB2D3FAED2F5A415F407DD040841297D2149F3E2119C2B6934AE262D3EE7EAB7254005DCED61584192334A95631E0A4E2319210D9B64D260DF9561598F01A9E91200F654B0CCA28C6D779E2CD78E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34980A6B448CFD1B8AC134DED53729427A79FF1058D0F32528EE9B5371C0B6C3F111286179BEF8592E1D7E09C32AA3244C94D322882BDAC5A227EBAEECF985A41230452B15D76AEC14927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojK/h3ZnmlPjH8kuuZ1uP8+Q== X-Mailru-Sender: 583F1D7ACE8F49BD31DE23046B3A8460560E603742902DAF8428DCEBE1AF5CDD73D8793387E7E6336BB2E709EA627F343C7DDD459B58856F0E45BC603594F5A135B915D4279FF0579437F6177E88F7363CDA0F3B3F5B9367 X-Mras: Ok Subject: [Tarantool-patches] [PATCH v2 0/2] replication: fix uninitialized replica_version_id access X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Serge Petrenko via Tarantool-patches Reply-To: Serge Petrenko Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" https://github.com/tarantool/tarantool/tree/sp/version-uninitialized-access Changes in v2 - rework patch 2: instead of initializing version in process_subscribe(), reset all parameters to default values in xrow_decode_subscribe(). Serge Petrenko (2): box: remove unused variable in process_register() xrow: reset parameters of decode_subscribe() to default src/box/box.cc | 4 +--- src/box/xrow.c | 13 +++++++++++-- 2 files changed, 12 insertions(+), 5 deletions(-) -- 2.30.1 (Apple Git-130)