~ubuntu-branches/debian/stretch/dropbear/stretch

« back to all changes in this revision

Viewing changes to cli-agentfwd.c

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape, Matt Johnston, Gerrit Pape
  • Date: 2013-10-25 15:00:48 UTC
  • mfrom: (1.4.6)
  • Revision ID: package-import@ubuntu.com-20131025150048-3jq765x96xayk392
Tags: 2013.60-1
[ Matt Johnston ]
* New upstream release.

[ Gerrit Pape ]
* debian/diff/0004-cve-2013-4421.diff, 0005-user-disclosure.diff:
  remove; fixed upstream.
* debian/dropbear.postinst: don't fail if initramfs-tools it not
  installed (closes: #692653).

Show diffs side-by-side

added added

removed removed

Lines of Context:
156
156
                goto out;
157
157
        }
158
158
        
159
 
        TRACE(("agent_request readlen is %d", readlen))
160
 
 
161
159
        buf_resize(inbuf, readlen);
162
160
        buf_setpos(inbuf, 0);
163
161
        ret = atomicio(read, fd, buf_getwriteptr(inbuf, readlen), readlen);
167
165
        }
168
166
        buf_incrwritepos(inbuf, readlen);
169
167
        buf_setpos(inbuf, 0);
170
 
        TRACE(("agent_request success, length %d", readlen))
171
168
 
172
169
out:
173
170
        if (payload)