Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehbp1-0007TO-96 for pgsql-bugs@arkaria.postgresql.org; Fri, 02 Feb 2018 13:56:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ehbp0-0004iT-4L for pgsql-bugs@arkaria.postgresql.org; Fri, 02 Feb 2018 13:56:06 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ehb7e-000338-IZ for pgsql-bugs@lists.postgresql.org; Fri, 02 Feb 2018 13:11:18 +0000 Received: from mail.tagan.ru ([95.174.96.5]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ehb7U-0005pA-G5 for pgsql-bugs@postgresql.org; Fri, 02 Feb 2018 13:11:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tagan.ru; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date: Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=rwb+CjkW6tlSy+k7bB6TJPlRm7UropWFGqTGM0bA41g=; b=ocToJ/bTGdQp6SSrzIVOMq3Mfx fEE6Imd3jF5W19ZVwIzDK05WKB7dfTagCrJRxlez+2Zy1dSkNQLmyCL/CUkitM0PYFe6NzFtVEae3 Xab+PNLe1NA2YBTwPs7q075SFapkiQHfu6ykKb55TT6HoTCt+MA17Kg/HMW0hYOG6P5E=; Received: from mgl.tagan.ru ([95.174.99.3] helo=[10.55.48.201]) by mail.tagan.ru with esmtpsa auth=asper (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1ehb7P-0005Ax-Ql for pgsql-bugs@postgresql.org; Fri, 02 Feb 2018 16:11:03 +0300 To: pgsql-bugs@postgresql.org From: =?UTF-8?B?0JzQuNGF0LDQuNC7INCc0LDQvdC10YDQutC+?= Subject: crypt function crash on postgresql 9.3.20 and 10 Message-ID: <5059192d-2ff7-41c2-1070-708cb65f33e9@tagan.ru> Date: Fri, 2 Feb 2018 16:11:04 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: ru-RU List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk If you send an asterisk in the crypt function, the function crashes. example i=# select crypt('123','*'); ОШИБКА:  invalid salt i=# -- Regards, Michael A. Manerko Megalink Company, Engineer 318, Chehova street, Taganrog, Russia, 347932 tel work: +7 8634 431431 (ext 159) tel mobile: +7 999 6939428 sip: 159@tagan.ru www.tagan.ru