]> git.ipfire.org Git - thirdparty/cups.git/commit
UBSan: Array over-read when operating on _fields 669/head
authorRose <83477269+AtariDreams@users.noreply.github.com>
Sun, 23 Apr 2023 17:09:50 +0000 (13:09 -0400)
committerRose <83477269+AtariDreams@users.noreply.github.com>
Thu, 27 Apr 2023 16:43:20 +0000 (12:43 -0400)
commit40fe4f77212d97fb58fa69e5d75a5afaff9fc254
tree6934346605441c7e2bcc03e065042488002e2caf
parentf33716ab0045547442db83835b226ac90379ac86
UBSan: Array over-read when operating on _fields

We are reading outside of the _fields boundaries and onto other fields when we iterate across all the fields, rather than comparing just those that are within _fields, and then always freeing the ones that are not.

This PR fixes that.
cups/http.c