Files
vde2/vde2-buffer-overflow.patch
Tomáš Chvátal 9b2ecb49b7 Accepting request 511489 from home:scarabeus_iv:branches:Virtualization
- Add patch to build with our gcc checks:
  * vde2-buffer-overflow.patch
- Switch to svn checkout service in order to get something newer
  than 2011 tarball
- Update to version 2.3.2+svn587:
  * allow pipes on stdin for daemonized switches
  * vde_vxlan initial release
  * Add format string to fprintf calls.
  * Clean up unused variables.
  * In 2014, I think we can stop trying to outsmart the compiler. Remove
  * "register" storage class.
  * Add missing headers in vde_router Makefile.am.
  * Add missing format string in snprintf.
  * Add missing source files in vde_vxlan Makefile.am.
  * Enable vde_over_ns when header is present.
  * Remove unused variable in vde_over_ns.
  * vde_autolink: Add missing null entry in getopt_long array.

- Drop README.SUSE we are better of with the online guides
- Cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/511489
OBS-URL: https://build.opensuse.org/package/show/Virtualization/vde2?expand=0&rev=11
2017-07-21 08:15:19 +00:00

14 lines
566 B
Diff

Index: vde2-2.3.2+svn587/src/vde_router/vder_packet.c
===================================================================
--- vde2-2.3.2+svn587.orig/src/vde_router/vder_packet.c
+++ vde2-2.3.2+svn587/src/vde_router/vder_packet.c
@@ -199,7 +199,7 @@ void vder_packet_recv(struct vder_iface
} else {
struct iphdr *hdr = iphead(packet);
uint32_t sender = hdr->saddr;
- uint8_t foot[sizeof(hdr) + 8];
+ uint8_t foot[sizeof(struct iphdr) + 8];
memcpy(foot, footprint(packet), sizeof(struct iphdr) + 8);
if (vder_ip_decrease_ttl(packet)) {