gecko-dev/security
Mike Hommey 5611e7d96d Bug 1894826 - Don't update digest when given string is empty. r=jschanck
slice::from_raw_parts doesn't like that it's given a null pointer, even
when the length is 0. Sure enough, we do end up calling update with an
empty string, and that ends up being a nullptr and a 0 length.

Since the digest update is not going to do anything anyways, just skip
it entirely. We keep the digest initialization check, though.

Differential Revision: https://phabricator.services.mozilla.com/D209311
2024-05-02 22:49:28 +00:00
..
certverifier Bug 1890795 - Count number of trust objects in db, r=jschanck,firefox-desktop-core-reviewers 2024-04-23 16:50:07 +00:00
ct Bug 1861620 - CTTestUtils: simplify the code by removing some unnecessary else r=sylvestre DONTBUILD 2023-11-01 08:02:54 +00:00
mac/hardenedruntime/v2 Bug 1474451 - Deploy Enhanced Runtime on Mac without the allow-unsigned-executable-memory entitlement r=spohl,florian,dthayer 2024-03-22 23:43:48 +00:00
manager Bug 1894826 - Don't update digest when given string is empty. r=jschanck 2024-05-02 22:49:28 +00:00
nss Bug 1891763 - land NSS NSS_3_100_BETA2 UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck 2024-05-01 09:24:48 +00:00
rlbox Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre 2023-12-08 04:26:45 +00:00
sandbox Bug 1889045 - Update sandbox policies for `epoll_pwait2`. r=gcp 2024-04-30 11:25:34 +00:00
.eslintrc.js Bug 1883371 - Enable ESLint rule no-console on production code. r=mossop,webcompat-reviewers,devtools-reviewers,omc-reviewers,twisniewski,nchevobbe,aminomancer 2024-03-05 16:56:57 +00:00
generate_mapfile.py
moz.build Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi 2024-02-29 00:49:10 +00:00
nss.symbols Bug 1890795 - Count number of trust objects in db, r=jschanck,firefox-desktop-core-reviewers 2024-04-23 16:50:07 +00:00