Mercurial > dropbear
comparison process-packet.c @ 426:695413c59b6a
Don't erase every buffer, it's too time consuming.
On systems where it matters encrypted swap should be enabled anyway.
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 12 Feb 2007 10:44:47 +0000 |
parents | 0cfba3034be5 |
children | 7e43f5e473b9 |
comparison
equal
deleted
inserted
replaced
425:1afa503e33f5 | 426:695413c59b6a |
---|---|
117 /* TODO do something more here? */ | 117 /* TODO do something more here? */ |
118 TRACE(("preauth unknown packet")) | 118 TRACE(("preauth unknown packet")) |
119 recv_unimplemented(); | 119 recv_unimplemented(); |
120 | 120 |
121 out: | 121 out: |
122 buf_burn(ses.payload); /* Clear the memory to avoid swapping it out */ | |
123 buf_free(ses.payload); | 122 buf_free(ses.payload); |
124 ses.payload = NULL; | 123 ses.payload = NULL; |
125 | 124 |
126 TRACE(("leave process_packet")) | 125 TRACE(("leave process_packet")) |
127 } | 126 } |