]> xenbits.xensource.com Git - libvirt.git/commit
Fixes for commit 211dd1e9
authorJim Fehlig <jfehlig@linux-ypgk.site>
Fri, 4 Jun 2010 16:04:03 +0000 (10:04 -0600)
committerJim Fehlig <jfehlig@linux-ypgk.site>
Fri, 4 Jun 2010 17:19:33 +0000 (11:19 -0600)
commitb1eb7f2e987d21b1711e86e5cb63a69abfce82f1
tree32d81e9d0cd2ef273bf362e83895d019a61fb045
parentfc6d5b2649ec7904ec18d861d800e3cde29faa80
Fixes for commit 211dd1e9

Fixes for issues in commit 211dd1e9 noted by by Jim Meyering.

1. Allocate content buffer of size content_length + 1 to ensure
   NUL-termination.
2. Limit content buffer size to 64k
3. Fix whitespace issue

V2:
  - Add comment to clarify allocation of content buffer
  - Add ATTRIBUTE_NONNULL where appropriate
  - User NULLSTR macro
src/xen/xend_internal.c