]> git.ipfire.org Git - thirdparty/json-c.git/commit
printbuf: do not allow invalid arguments 751/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Thu, 3 Mar 2022 20:15:19 +0000 (21:15 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Thu, 3 Mar 2022 20:15:19 +0000 (21:15 +0100)
commit435524247782e8fc64a96e9e18e7d1bfecbb9dd0
tree6d1f1e23905daf9b51403a8248fd35075232ed10
parentbd56cc8bf77afa6e2c94cc62539d1fda2d1a86b6
printbuf: do not allow invalid arguments

If invalid arguments are passed to printbuf functions return -1 to
protect printbuf internals.
printbuf.c