saltbundle-zeromq/bsc1176256.patch

16 lines
495 B
Diff

https://github.com/zeromq/libzmq/security/advisories/GHSA-fc3w-qxf5-7hp6
Index: zeromq-4.2.3/src/decoder_allocators.hpp
===================================================================
--- zeromq-4.2.3.orig/src/decoder_allocators.hpp
+++ zeromq-4.2.3/src/decoder_allocators.hpp
@@ -71,7 +71,7 @@ namespace zmq
void resize (std::size_t new_size)
{
- bufsize = new_size;
+ // bufsize = new_size;
}
private:
std::size_t bufsize;