Coverity fixes for tools/xenstore
cover Coverity fixes for tools/xenstore
Signature · 1 line
1.7.10.4
PATCH 1/4 tools/xenstore: Fix 15 potential resource leaks in build()
Coverity ID: 1055933 1055934
--- tools/xenstore/init-xenstore-domain.c | 45 ++++++++++++++++++++------------- 1 file changed, 27 insertions(+), 18 deletions(-)
tools/xenstore/init-xenstore-domain.c +27 -18
@@ -18,51 +18,60 @@ static int build(xc_interface *xch, char** argv)char cmdline[512 ];uint32_t ssid;xen_domain_handle_t handle = {0 }; -int rv; -int xs_fd =open ("/dev/xen/xenbus_backend" ,O_RDWR ); -struct xc_dom_image *dom; +int rv, xs_fd; +struct xc_dom_image *dom =NULL ;int maxmem =atoi (argv[2 ]);int limit_kb = (maxmem +1 )*1024 ; + xs_fd =open ("/dev/xen/xenbus_backend" ,O_RDWR ); +if (xs_fd ==-1 )return -1 ; + rv =xc_flask_context_to_sid (xch, argv[3 ],strlen (argv[3 ]), &ssid); -if (rv)return rv; +if (rv) goto err; rv =xc_domain_create (xch, ssid, handle,0 , &domid); -if (rv)return rv; +if (rv) goto err; rv =xc_domain_max_vcpus (xch, domid,1 ); -if (rv)return rv; +if (rv) goto err; rv =xc_domain_setmaxmem (xch, domid, limit_kb); -if (rv)return rv; +if (rv) goto err; rv =xc_domain_set_memmap_limit (xch, domid, limit_kb); -if (rv)return rv; +if (rv) goto err; rv =ioctl (xs_fd,IOCTL_XENBUS_BACKEND_SETUP , domid); -if (rv <0 )return rv; +if (rv <0 ) goto err;snprintf (cmdline,512 ,"--event %d --internal-db" , rv); dom =xc_dom_allocate (xch, cmdline,NULL ); rv =xc_dom_kernel_file (dom, argv[1 ]); -if (rv)return rv; +if (rv) goto err; rv =xc_dom_boot_xen_init (dom, xch, domid); -if (rv)return rv; +if (rv) goto err; rv =xc_dom_parse_image (dom); -if (rv)return rv; +if (rv) goto err; rv =xc_dom_mem_init (dom, maxmem); -if (rv)return rv; +if (rv) goto err; rv =xc_dom_boot_mem_init (dom); -if (rv)return rv; +if (rv) goto err; rv =xc_dom_build_image (dom); -if (rv)return rv; +if (rv) goto err; rv =xc_dom_boot_image (dom); -if (rv)return rv; +if (rv) goto err;xc_dom_release (dom); + dom =NULL ; rv =xc_domain_set_virq_handler (xch, domid,VIRQ_DOM_EXC ); -if (rv)return rv; +if (rv) goto err; rv =xc_domain_unpause (xch, domid); -if (rv)return rv; +if (rv) goto err;return 0 ; + +err: +if (dom) +xc_dom_release (dom); +close (xs_fd); +return rv; }int main (int argc,char ** argv)
Signature · 1 line
1.7.10.4
PATCH 2/4 tools/xenstore-rm: Fix memory leaks
In reply to Andrew CooperCoverity ID: 1055935
--- tools/xenstore/xenstore_client.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
tools/xenstore/xenstore_client.c +4 -1
@@ -367,10 +367,13 @@ perform(enum mode mode, int optind, int argc, char **argv, struct xs_handle *xshif (list) {free (list); -if (num ==0 ) +if (num ==0 ){ +free (val); goto again; + } } } +free (val); }free (path);
Signature · 1 line
1.7.10.4
PATCH 3/4 tools/xenstored: Avoid buffer overflows while setting up sockets
In reply to Andrew CooperCoverity ID: 1055996 1056002
Use strncpy in preference to strcpy, and use the correct failing path for error messages.
--- tools/xenstore/xenstored_core.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
tools/xenstore/xenstored_core.c +4 -5
@@ -1735,13 +1735,12 @@ static void init_sockets(int **psock, int **pro_sock)unlink (xs_daemon_socket_ro ()); addr.sun_family =AF_UNIX ; -strcpy (addr.sun_path,xs_daemon_socket ()); +strncpy (addr.sun_path,xs_daemon_socket (),sizeof (addr.sun_path));if (bind (*sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" ,xs_daemon_socket ()); -strcpy (addr.sun_path,xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , addr.sun_path); +strncpy (addr.sun_path,xs_daemon_socket_ro (),sizeof (addr.sun_path));if (bind (*ro_sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" , -xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , addr.sun_path);if (chmod (xs_daemon_socket (),0600 ) !=0 ||chmod (xs_daemon_socket_ro (),0660 ) !=0 )barf_perror ("Could not chmod sockets" );
Signature · 1 line
1.7.10.4
PATCH 4/4 tools/xenstored: Don't leak a file handle when creating the pidfile
In reply to Andrew CooperCoverity ID: 1055849
--- tools/xenstore/xenstored_posix.c | 2 ++ 1 file changed, 2 insertions(+)
tools/xenstore/xenstored_posix.c +2 -0
@@ -44,6 +44,8 @@ void write_pidfile(const char *pidfile) len =snprintf (buf,sizeof (buf),"%ld\n" , (long )getpid ());if (write (fd, buf, len) != len)barf_perror ("Writing pid file %s" , pidfile); + +close (fd); }/* Stevens. */
Signature · 1 line
1.7.10.4
PATCH 1/4 tools/xenstore: Fix 15 potential resource leaks in build()
In reply to Andrew CooperAndrew Cooper writes ("[PATCH 1/4] tools/xenstore: Fix 15 potential resource leaks in build()"):
Quoted 4 lines
Coverity ID: 1055933 1055934
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>
This is theoretical (if build fails, main returns), so I shan't backport it.
Ian.
Re: [PATCH 2/4] tools/xenstore-rm: Fix memory leaks
In reply to Andrew CooperAndrew Cooper writes ("[PATCH 2/4] tools/xenstore-rm: Fix memory leaks"):
Quoted 4 lines
Coverity ID: 1055935
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>
Re: [PATCH 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets
In reply to Andrew CooperQuoted 17 lines · Andrew Cooper
Coverity ID: 1055996 1056002
Use strncpy in preference to strcpy, and use the correct failing path for error messages.
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>--- tools/xenstore/xenstored_core.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)tools/xenstore/xenstored_core.c +0
-0
tools/xenstore/xenstored_core.c static void init_sockets(int **psock, int **pro_sock) · line 1738
Quoted 5 lines
tools/xenstore/xenstored_core.c +1
-1@@ -1735,13 +1735,12 @@ static void init_sockets(int **psock, int **pro_sock)unlink (xs_daemon_socket_ro ()); addr.sun_family =AF_UNIX ; -strcpy (addr.sun_path,xs_daemon_socket ()); +strncpy (addr.sun_path,xs_daemon_socket (),sizeof (addr.sun_path));
Nitpick: Using strncpy in this manner is unsafe as it does not guarantee the null-termination of the result in the destination buffer (which would presumably make barf_perror unhappy). For that reason, and to avoid truncation, I check the source string length directly instead in commit f220279c14, for example.
- Matthew
Quoted 20 lines
tools/xenstore/xenstored_core.c +3
-5if (bind (*sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" ,xs_daemon_socket ()); -strcpy (addr.sun_path,xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , addr.sun_path); +strncpy (addr.sun_path,xs_daemon_socket_ro (),sizeof (addr.sun_path));if (bind (*ro_sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" , -xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , addr.sun_path);if (chmod (xs_daemon_socket (),0600 ) !=0 ||chmod (xs_daemon_socket_ro (),0660 ) !=0 )barf_perror ("Could not chmod sockets" ); --1.7.10.4
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Re: [PATCH 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets
In reply to Andrew CooperAndrew Cooper writes ("[PATCH 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets"):
Quoted 4 lines
Coverity ID: 1055996 1056002
Use strncpy in preference to strcpy, and use the correct failing path for error messages.
...
tools/xenstore/xenstored_core.c static void init_sockets(int **psock, int **pro_sock) · line 1740
Quoted 6 lines
tools/xenstore/xenstored_core.c +2
-2addr.sun_family =AF_UNIX ; -strcpy (addr.sun_path,xs_daemon_socket ()); +strncpy (addr.sun_path,xs_daemon_socket (),sizeof (addr.sun_path));if (bind (*sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" ,xs_daemon_socket ()); +barf_perror ("Could not bind socket to %s" , addr.sun_path);
This latter hunk is not correct. addr.sun_path might not be nul-terminated. xs_daemon_socket() is, but isn't the path actually attempted.
Also, while this new code avoids UB, it still has the bug that if the configured socket pathname is too long, xenstored will create a version with a truncated path.
Perhaps a better approach would be an explicit overlength check.
Ian.
Re: [PATCH 4/4] tools/xenstored: Don't leak a file handle when creating the pidfile
In reply to Andrew CooperAndrew Cooper writes ("[PATCH 4/4] tools/xenstored: Don't leak a file handle when creating the pidfile"):
Quoted 4 lines
Coverity ID: 1055849
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>
PATCH v2 3/4 tools/xenstored: Avoid buffer overflows while setting up sockets
In reply to Matthew DaleyCoverity ID: 1055996 1056002
Cache the xs_daemon_socket{,_ro}() strings to save pointlessly re-snprintf()'ing the same path, and add explicit size checks against addr.sun_path before strcpy()'ing into it.
---
Changes in v2:
* Use logic similar to f220279c14
--- tools/xenstore/xenstored_core.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-)
tools/xenstore/xenstored_core.c +18 -9
@@ -1718,6 +1718,9 @@ static void init_sockets(int **psock, int **pro_sock) {struct sockaddr_un addr;int *sock, *ro_sock; +const char *soc_str =xs_daemon_socket (); +const char *soc_str_ro =xs_daemon_socket_ro (); +/* Create sockets for them to listen to. */ *psock = sock =talloc (talloc_autofree_context (), int); *sock =socket (PF_UNIX ,SOCK_STREAM ,0 );
@@ -1731,19 +1734,25 @@ static void init_sockets(int **psock, int **pro_sock)talloc_set_destructor (ro_sock, destroy_fd);/* FIXME: Be more sophisticated, don't mug running daemon. */ -unlink (xs_daemon_socket ()); -unlink (xs_daemon_socket_ro ()); +unlink (soc_str); +unlink (soc_str_ro); addr.sun_family =AF_UNIX ; -strcpy (addr.sun_path,xs_daemon_socket ()); + +if (strlen (soc_str) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str); +strcpy (addr.sun_path, soc_str);if (bind (*sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" ,xs_daemon_socket ()); -strcpy (addr.sun_path,xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , soc_str); + +if (strlen (soc_str_ro) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str_ro); +strcpy (addr.sun_path, soc_str_ro);if (bind (*ro_sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" , -xs_daemon_socket_ro ()); -if (chmod (xs_daemon_socket (),0600 ) !=0 - ||chmod (xs_daemon_socket_ro (),0660 ) !=0 ) +barf_perror ("Could not bind socket to %s" , soc_str_ro); + +if (chmod (soc_str,0600 ) !=0 + ||chmod (soc_str_ro,0660 ) !=0 )barf_perror ("Could not chmod sockets" ); if (listen(*sock, 1) != 0
Signature · 1 line
1.7.10.4
Re: [Patch v2 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets
Ping? This v2 patch appears to have slipped through the cracks from my set of Coverity fixes.
~Andrew
Quoted 67 lines · Andrew Cooper
Coverity ID: 1055996 1056002
Cache the xs_daemon_socket{,_ro}() strings to save pointlessly re-snprintf()'ing the same path, and add explicit size checks against addr.sun_path before strcpy()'ing into it.
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Matthew Daley <[email protected]>---
Changes in v2:
* Use logic similar tof220279c14--- tools/xenstore/xenstored_core.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-)tools/xenstore/xenstored_core.c +18
-9@@ -1718,6 +1718,9 @@ static void init_sockets(int **psock, int **pro_sock) {struct sockaddr_un addr;int *sock, *ro_sock; +const char *soc_str =xs_daemon_socket (); +const char *soc_str_ro =xs_daemon_socket_ro (); +/* Create sockets for them to listen to. */ *psock = sock =talloc (talloc_autofree_context (), int); *sock =socket (PF_UNIX ,SOCK_STREAM ,0 );@@ -1731,19 +1734,25 @@ static void init_sockets(int **psock, int **pro_sock)talloc_set_destructor (ro_sock, destroy_fd);/* FIXME: Be more sophisticated, don't mug running daemon. */ -unlink (xs_daemon_socket ()); -unlink (xs_daemon_socket_ro ()); +unlink (soc_str); +unlink (soc_str_ro); addr.sun_family =AF_UNIX ; -strcpy (addr.sun_path,xs_daemon_socket ()); + +if (strlen (soc_str) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str); +strcpy (addr.sun_path, soc_str);if (bind (*sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" ,xs_daemon_socket ()); -strcpy (addr.sun_path,xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , soc_str); + +if (strlen (soc_str_ro) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str_ro); +strcpy (addr.sun_path, soc_str_ro);if (bind (*ro_sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" , -xs_daemon_socket_ro ()); -if (chmod (xs_daemon_socket (),0600 ) !=0 - ||chmod (xs_daemon_socket_ro (),0660 ) !=0 ) +barf_perror ("Could not bind socket to %s" , soc_str_ro); + +if (chmod (soc_str,0600 ) !=0 + ||chmod (soc_str_ro,0660 ) !=0 )barf_perror ("Could not chmod sockets" ); if (listen(*sock, 1) != 0
Re: [Patch v2 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets
Ping again?
Quoted 73 lines · Andrew Cooper
Ping? This v2 patch appears to have slipped through the cracks from my set of Coverity fixes.
~Andrew
Quoted 67 lines · Andrew Cooper
Coverity ID: 1055996 1056002
Cache the xs_daemon_socket{,_ro}() strings to save pointlessly re-snprintf()'ing the same path, and add explicit size checks against addr.sun_path before strcpy()'ing into it.
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Matthew Daley <[email protected]>---
Changes in v2:
* Use logic similar tof220279c14--- tools/xenstore/xenstored_core.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-)tools/xenstore/xenstored_core.c +18
-9@@ -1718,6 +1718,9 @@ static void init_sockets(int **psock, int **pro_sock) {struct sockaddr_un addr;int *sock, *ro_sock; +const char *soc_str =xs_daemon_socket (); +const char *soc_str_ro =xs_daemon_socket_ro (); +/* Create sockets for them to listen to. */ *psock = sock =talloc (talloc_autofree_context (), int); *sock =socket (PF_UNIX ,SOCK_STREAM ,0 );@@ -1731,19 +1734,25 @@ static void init_sockets(int **psock, int **pro_sock)talloc_set_destructor (ro_sock, destroy_fd);/* FIXME: Be more sophisticated, don't mug running daemon. */ -unlink (xs_daemon_socket ()); -unlink (xs_daemon_socket_ro ()); +unlink (soc_str); +unlink (soc_str_ro); addr.sun_family =AF_UNIX ; -strcpy (addr.sun_path,xs_daemon_socket ()); + +if (strlen (soc_str) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str); +strcpy (addr.sun_path, soc_str);if (bind (*sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" ,xs_daemon_socket ()); -strcpy (addr.sun_path,xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , soc_str); + +if (strlen (soc_str_ro) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str_ro); +strcpy (addr.sun_path, soc_str_ro);if (bind (*ro_sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" , -xs_daemon_socket_ro ()); -if (chmod (xs_daemon_socket (),0600 ) !=0 - ||chmod (xs_daemon_socket_ro (),0660 ) !=0 ) +barf_perror ("Could not bind socket to %s" , soc_str_ro); + +if (chmod (soc_str,0600 ) !=0 + ||chmod (soc_str_ro,0660 ) !=0 )barf_perror ("Could not chmod sockets" ); if (listen(*sock, 1) != 0
Re: [Patch v2 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets
Given the spirit today of missed pings on patches,
Third time lucky?
~Andrew
Quoted 76 lines · Andrew Cooper
Ping again?
Quoted 73 lines · Andrew Cooper
Ping? This v2 patch appears to have slipped through the cracks from my set of Coverity fixes.
~Andrew
Quoted 67 lines · Andrew Cooper
Coverity ID: 1055996 1056002
Cache the xs_daemon_socket{,_ro}() strings to save pointlessly re-snprintf()'ing the same path, and add explicit size checks against addr.sun_path before strcpy()'ing into it.
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Matthew Daley <[email protected]>---
Changes in v2:
* Use logic similar tof220279c14--- tools/xenstore/xenstored_core.c | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-)tools/xenstore/xenstored_core.c +18
-9@@ -1718,6 +1718,9 @@ static void init_sockets(int **psock, int **pro_sock) {struct sockaddr_un addr;int *sock, *ro_sock; +const char *soc_str =xs_daemon_socket (); +const char *soc_str_ro =xs_daemon_socket_ro (); +/* Create sockets for them to listen to. */ *psock = sock =talloc (talloc_autofree_context (), int); *sock =socket (PF_UNIX ,SOCK_STREAM ,0 );@@ -1731,19 +1734,25 @@ static void init_sockets(int **psock, int **pro_sock)talloc_set_destructor (ro_sock, destroy_fd);/* FIXME: Be more sophisticated, don't mug running daemon. */ -unlink (xs_daemon_socket ()); -unlink (xs_daemon_socket_ro ()); +unlink (soc_str); +unlink (soc_str_ro); addr.sun_family =AF_UNIX ; -strcpy (addr.sun_path,xs_daemon_socket ()); + +if (strlen (soc_str) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str); +strcpy (addr.sun_path, soc_str);if (bind (*sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" ,xs_daemon_socket ()); -strcpy (addr.sun_path,xs_daemon_socket_ro ()); +barf_perror ("Could not bind socket to %s" , soc_str); + +if (strlen (soc_str_ro) >=sizeof (addr.sun_path)) +barf_perror ("socket string '%s' too long" , soc_str_ro); +strcpy (addr.sun_path, soc_str_ro);if (bind (*ro_sock, (struct sockaddr *)&addr,sizeof (addr)) !=0 ) -barf_perror ("Could not bind socket to %s" , -xs_daemon_socket_ro ()); -if (chmod (xs_daemon_socket (),0600 ) !=0 - ||chmod (xs_daemon_socket_ro (),0660 ) !=0 ) +barf_perror ("Could not bind socket to %s" , soc_str_ro); + +if (chmod (soc_str,0600 ) !=0 + ||chmod (soc_str_ro,0660 ) !=0 )barf_perror ("Could not chmod sockets" ); if (listen(*sock, 1) != 0
Re: [Patch v2 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets [and 1 more messages]
In reply to Andrew CooperAndrew Cooper writes ("[Xen-devel] [Patch v2 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets"):
Quoted 10 lines
Coverity ID: 1055996 1056002
Cache the xs_daemon_socket{,_ro}() strings to save pointlessly re-snprintf()'ing the same path, and add explicit size checks against addr.sun_path before strcpy()'ing into it.
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Matthew Daley <[email protected]>
Andrew Cooper writes ("Re: [Xen-devel] [Patch v2 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets"):
Quoted 3 lines
Given the spirit today of missed pings on patches,
Third time lucky?
Sorry about that. (Coverity is generating a lot of very similar patches; in this case I had confused this one in my mind with f220279c14 which you even mention in the commit message.)
Thanks for chasing.
Ian.
Re: [Patch v2 3/4] tools/xenstored: Avoid buffer overflows while setting up sockets [and 1 more messages]
Quoted 17 lines · Ian Jackson
Andrew Cooper writes ("[Xen-devel] [Patch v2 3/4]
tools/xenstored: Avoid buffer overflows while setting up sockets"):Quoted 10 lines
Coverity ID: 1055996 1056002
Cache the xs_daemon_socket{,_ro}() strings to save pointlessly re-snprintf()'ing the same path, and add explicit size checks against addr.sun_path before strcpy()'ing into it.
Signed-off-by Andrew Cooper <[email protected]>CC Ian Campbell <[email protected]>CC Ian Jackson <[email protected]>CC Matthew Daley <[email protected]>Acked-by Ian Jackson <[email protected]>Committed-by Ian Jackson <[email protected]>Andrew Cooper writes ("Re: [Xen-devel] [Patch v2 3/4]
tools/xenstored: Avoid buffer overflows while setting up sockets"):Quoted 2 lines
Given the spirit today of missed pings on patches,
Quoted 8 lines
Quoted 1 line
Third time lucky?
Sorry about that. (Coverity is generating a lot of very similar patches; in this case I had confused this one in my mind with
f220279c14which you even mention in the commit message.)Thanks for chasing.
Ian.
Yes - that is a sad fact of all of these similar patches. Hopefully they will start thinning out as we get on top of the issues.
I am tracking "what still hasn't been applied" by what git rebase staging tells me has still is still outstanding. Of course, being my private working tree, it is not easily exportable information.
On that note, I have some more pings to go.
~Andrew