]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared: correctly propagate possible allocation errors
authorFrantisek Sumsal <frantisek@sumsal.cz>
Sun, 21 May 2023 19:00:26 +0000 (21:00 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 22 May 2023 10:39:47 +0000 (12:39 +0200)
commit3575c371697a07995c3e65ae03aed55262ab00ed
tree53caba1ca677c71c47754180f6bf0ec48c3b71ea
parent6554f563618bedf2c7b84edb90a95704c93c2ebc
shared: correctly propagate possible allocation errors

instead of just asserting in case the memstream couldn't be resized.

Found by Nallocufuzz.
src/shared/json.c