mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
ITS#4078 fix buffer alignment
This commit is contained in:
parent
2890a5d035
commit
e66b6188bb
@ -44,28 +44,28 @@ static char maxcsnbuf[ LDAP_LUTIL_CSNSTR_BUFSIZE ];
|
||||
int
|
||||
slapadd( int argc, char **argv )
|
||||
{
|
||||
char *buf = NULL;
|
||||
int lineno;
|
||||
int lmax;
|
||||
int rc = EXIT_SUCCESS;
|
||||
|
||||
char *buf = NULL;
|
||||
const char *text;
|
||||
char textbuf[SLAP_TEXT_BUFLEN] = { '\0' };
|
||||
size_t textlen = sizeof textbuf;
|
||||
const char *progname = "slapadd";
|
||||
int manage = 0;
|
||||
|
||||
struct berval csn;
|
||||
struct berval maxcsn;
|
||||
int match;
|
||||
struct berval bvtext;
|
||||
Attribute *attr;
|
||||
Entry *ctxcsn_e;
|
||||
ID ctxcsn_id, id;
|
||||
int ret;
|
||||
struct berval bvtext;
|
||||
int checkvals;
|
||||
char opbuf[OPERATION_BUFFER_SIZE];
|
||||
Operation *op;
|
||||
char opbuf[OPERATION_BUFFER_SIZE];
|
||||
|
||||
int match;
|
||||
int ret;
|
||||
int checkvals;
|
||||
int lineno;
|
||||
int lmax;
|
||||
int rc = EXIT_SUCCESS;
|
||||
int manage = 0;
|
||||
|
||||
slap_tool_init( progname, SLAPADD, argc, argv );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user