~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to process-packet.c

  • Committer: Bazaar Package Importer
  • Author(s): Gerrit Pape, Matt Johnston, Gerrit Pape
  • Date: 2008-03-27 20:08:06 UTC
  • mfrom: (1.4.1 upstream) (9 hardy)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20080327200806-c1hhdgt3ht2gk496
Tags: 0.51-1
[ Matt Johnston ]
* New upstream release.
  - Wait until a process exits before the server closes a connection,
    so that an exit code can be sent. This fixes problems with exit
    codes not being returned, which could cause scp to fail (closes:
    #448397, #472483).

[ Gerrit Pape ]
* debian/dropbear.postinst: don't print an error message if the
  update-service program is not installed (thx Matt).

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
        switch(type) {
57
57
 
58
58
                case SSH_MSG_IGNORE:
 
59
                        goto out;
59
60
                case SSH_MSG_DEBUG:
60
 
                        TRACE(("received SSH_MSG_IGNORE or SSH_MSG_DEBUG"))
61
61
                        goto out;
62
62
 
63
63
                case SSH_MSG_UNIMPLEMENTED:
119
119
        recv_unimplemented();
120
120
 
121
121
out:
122
 
        buf_burn(ses.payload); /* Clear the memory to avoid swapping it out */
123
122
        buf_free(ses.payload);
124
123
        ses.payload = NULL;
125
124