~vorlon/ubuntu/raring/upstart/lp.1199778

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Scott James Remnant
  • Date: 2007-01-30 17:12:34 UTC
  • Revision ID: scott@netsplit.com-20070130171234-ziqpytuqexu3tyvw
* upstart/wire.c: Note that if any of the push functions fail, the
entire buffer should be discarded.
* upstart/tests/test_wire.c (test_push_int, test_push_unsigned) 
(test_push_string, test_push_header, test_push_pack): Us
TEST_ALLOC_FAIL to ensure that failing to allocate memory is caught.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
2007-01-30  Scott James Remnant  <scott@netsplit.com>
2
2
 
 
3
        * upstart/wire.c: Note that if any of the push functions fail, the
 
4
        entire buffer should be discarded.
 
5
        * upstart/tests/test_wire.c (test_push_int, test_push_unsigned) 
 
6
        (test_push_string, test_push_header, test_push_pack): Us
 
7
        TEST_ALLOC_FAIL to ensure that failing to allocate memory is caught.
 
8
 
3
9
        * upstart/tests/test_message.c (my_handler): Free the name and
4
10
        description after checking; they aren't otherwise.
5
11