Skip to content

Commit

Permalink
Adopt InvisiCaps. This reverts code changes. Corresponds to llvm-proj…
Browse files Browse the repository at this point in the history
…ect-deluge/0636ac7db8e9
  • Loading branch information
pizlonator committed Nov 20, 2024
1 parent 164eb36 commit 71833ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion readconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2488,7 +2488,7 @@ config_has_permitted_cnames(Options *options)
void
initialize_options(Options * options)
{
memset(options, 0, sizeof(*options));
memset(options, 'X', sizeof(*options));
options->host_arg = NULL;
options->forward_agent = -1;
options->forward_agent_sock_path = NULL;
Expand Down
4 changes: 1 addition & 3 deletions sshbuf-getput-basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
# include <stdint.h>
#endif

#include <stdfil.h>

#include "ssherr.h"
#include "sshbuf.h"

Expand Down Expand Up @@ -526,7 +524,7 @@ sshbuf_put_string(struct sshbuf *buf, const void *v, size_t len)
return r;
POKE_U32(d, len);
if (len != 0)
zmemmove_nullify(d + 4, v, len);
memcpy(d + 4, v, len);
return 0;
}

Expand Down

0 comments on commit 71833ac

Please sign in to comment.