From nobody Sun Jun 16 20:23:39 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W2Pbv49tVz5PQ7w for ; Sun, 16 Jun 2024 20:23:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W2Pbv1yD5z4v89 for ; Sun, 16 Jun 2024 20:23:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718569419; a=rsa-sha256; cv=none; b=G0xPmh/beYYl84lId6OwgCyVqexeDgvCJ2n9tO40EYTfq0gncn1eURaHOWpfbcPGEpgqnd kqOVH4IOm1Ew82TGhd3hJvjkuNHhQUXe3U2FfmcWWNR735SL+sqC5Kb85L82l4PAZ9JkSR GACquXO+m8XSi7NYP5Yy94oxtyDDulA+ZYLcJo4eX7Z7t/SisFasPRdsF4WLqnu8h/nKCo YEBCNiQwr7oyLhFvalAY9imh0us6CPLqN26+MNdPONJyp6sG5KcYZeoJZP3erZoyrJPuGO BVUdU/iJHj2jT81CljFfMYq8sB4o/k8FVaRMKxQXTcMqgKdXUL+j/xwQihm0VA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718569419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2GNl09VEpjqhd2MdOlLmL5ODlIkXUKdzYwdyD8Ia+gg=; b=CVf00lWbB9VBdnlOrtYj5/tb5Jm7mi9PfxNRKYAVQxM742f7uQn5oh+jnw5boWMqAOq2+r 3D00u9EaXKx/koMSpZBTp4OdM2dSNpvvS2O6TFbW8f9AbNbjxSmGL/UdhKOjIo7sds3BWm gZxHQBqJ14PKPeANJ6cYa2lhH17G7iNqCN5VqdkvlbB1kpcIGPLMbGlqCkvEhX62Q+92qg o71Gu2nHKg6E7HA2CVFSwhSvRPkWYCueyUyuM0vj8DFwQCaJ7hyF46zhikKE5y1mza9UJh 0MWcIFFF8Ukx0HaO3R385wGILflBwDeY4ERGzb/DUiuZE+bg//0BzC1mGeO28g== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W2Pbv1ZMSz12k4 for ; Sun, 16 Jun 2024 20:23:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 45GKNdb9035193 for ; Sun, 16 Jun 2024 20:23:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45GKNdD8035192 for ports-bugs@FreeBSD.org; Sun, 16 Jun 2024 20:23:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269979] net/megacmd: webdav server fail on any version after 1.4.1 (was: v1.5.0 broken / core dump during start) Date: Sun, 16 Jun 2024 20:23:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: riccardo@torrini.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269979 --- Comment #13 from Riccardo Torrini --- This is (part of) one of my trouble tickets to mega: ----- 8< ----- I'm not fluent on C++ programming but I think that you can investigate megaapi_impl.cpp, inside MegaHTTPServer::onBody() (diff between sdk-3.9.11a and sdk-4.17.1d, as an example) ----- 8< ----- if (parser->method =3D=3D HTTP_PUT) { //create tmp file with contents in messageBody if (!httpctx->tmpFileAccess) { httpctx->tmpFileName=3Dhttpctx->server->basePath; httpctx->tmpFileName.append("httputfile"); - LocalPath suffix; - httpctx->server->fsAccess->tmpnamelocal(suffix); - httpctx->tmpFileName.append(suffix.toPath(*httpctx->server->fsAccess)); + httpctx->tmpFileName.append(LocalPath::tmpNameLocal().toPath(false)); string ext; - LocalPath localpath =3D LocalPath::fromPath(httpctx->path, *httpctx->server->fsAccess); + LocalPath localpath =3D LocalPath::fromAbsolutePath(httpctx->path); if (httpctx->server->fsAccess->getextension(localpath, ext)) { httpctx->tmpFileName.append(ext); } ----- 8< ----- Could the problem be triggered by files without an extension? Unfortunately (for me at least) last answer was: Our developers are chacking the issue but they have answered that we won't = be fixing that any time soon though. We will contact you again if we solve thi= s, we are sorry for the inconvenience. --=20 You are receiving this mail because: You are the assignee for the bug.=