Searched hist:"18 e3f7fb" (Results 1 – 2 of 2) sorted by relevance
/openbmc/bmcweb/test/include/ |
H A D | multipart_test.cpp | 18e3f7fb Wed Aug 24 02:24:33 CDT 2022 Krzysztof Grobelny <krzysztof.grobelny@intel.com> Fixed issues with multipart parser
- Index was not checked against size before dereference. Which cased to override memory. - Header without colon could put parser into invalid state. Now it will return with error. - Content after boundary was not correctly discarded. - Parser did not check body for final boudary. Now missing final boundary will return with error.
Tested: - Tested that payload with header without colon doesn't cause memory corruption anymore.
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com> Change-Id: I12f496ab5f53e6c088cdfdf2e96be636d66f7c7f
|
/openbmc/bmcweb/include/ |
H A D | multipart_parser.hpp | 18e3f7fb Wed Aug 24 02:24:33 CDT 2022 Krzysztof Grobelny <krzysztof.grobelny@intel.com> Fixed issues with multipart parser
- Index was not checked against size before dereference. Which cased to override memory. - Header without colon could put parser into invalid state. Now it will return with error. - Content after boundary was not correctly discarded. - Parser did not check body for final boudary. Now missing final boundary will return with error.
Tested: - Tested that payload with header without colon doesn't cause memory corruption anymore.
Signed-off-by: Krzysztof Grobelny <krzysztof.grobelny@intel.com> Change-Id: I12f496ab5f53e6c088cdfdf2e96be636d66f7c7f
|