netwerk/necko-config.h.in
author Michal Novotny <michal.novotny@gmail.com>
Fri, 14 Jun 2019 22:54:06 +0000
changeset 533998 3d562db5d1ed358a18da5bbe160c1da4864ef6c0
parent 425515 ce6e2f914c96563ef4d4b2dd2bb10fe1b9fd2a33
permissions -rw-r--r--
Bug 1528481 - Possible use after free in Http2Session::RecvPushPromise() if we have a usable entry in the cache for the resource. r=dragana, a=ritu If we find a usable cache entry, the stream is closed and release in CachePushCheckCallback::OnCacheEntryCheck(). This patch converts raw pointer to a weak pointer, so we can simply check if the object still exists after AsyncOpenURI() finishes. Differential Revision: https://phabricator.services.mozilla.com/D33945

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef _NECKO_CONFIG_H_
#define _NECKO_CONFIG_H_

#undef NECKO_COOKIES

#undef NECKO_WIFI

#endif