update to lastpass-cli-1.2.2, from maintainer Björn Ketelaars

This commit is contained in:
sthen 2017-11-11 13:30:44 +00:00
parent 07af4bf5e4
commit 0b1b8cf4b4
3 changed files with 4 additions and 24 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.12 2017/09/29 15:56:40 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2017/11/11 13:30:44 sthen Exp $
COMMENT = LastPass command line interface tool
GH_ACCOUNT = lastpass
GH_PROJECT = lastpass-cli
GH_TAGNAME = v1.2.1
REVISION = 0
GH_TAGNAME = v1.2.2
CATEGORIES = security
MAINTAINER = Bjorn Ketelaars <bjorn.ketelaars@hydroxide.nl>

View File

@ -1,2 +1,2 @@
SHA256 (lastpass-cli-1.2.1.tar.gz) = GkmjemepcyluIYMG5tNsk4M0exgz5ah468CDVbHHdFY=
SIZE (lastpass-cli-1.2.1.tar.gz) = 108780
SHA256 (lastpass-cli-1.2.2.tar.gz) = Jsk65hCTITnayv8uD5FsVije9Iu0EptAmRAc9ObHxJk=
SIZE (lastpass-cli-1.2.2.tar.gz) = 110045

View File

@ -1,19 +0,0 @@
$OpenBSD: patch-http_c,v 1.1 2017/09/29 15:56:40 sthen Exp $
From 68cfae08b22954fe952cfe590daa4b81a7f7124b Mon Sep 17 00:00:00 2001
Date: Fri, 29 Sep 2017 14:06:25 +0200
Subject: [PATCH] use-after-free bug in http.c
Index: http.c
--- http.c.orig
+++ http.c
@@ -310,8 +310,8 @@ char *http_post_lastpass_v_noexit(const char *server,
ret = curl_easy_perform(curl);
unset_interrupt_detect();
- curl_easy_cleanup(curl);
curl_easy_getinfo(curl, CURLINFO_RESPONSE_CODE, http_code);
+ curl_easy_cleanup(curl);
*curl_ret = ret;
if (ret != CURLE_OK) {