search for: aclchk

Displaying 4 results from an estimated 4 matches for "aclchk".

2007 Jan 06
1
Re: [nut-commits] svn commit r710 - in trunk: . clients server
...addr.s_addr); > @@ -72,8 +73,31 @@ > return(0); > } > } > +#endif > > /* see if <addr> matches the acl <aclname> */ > +#ifndef HAVE_IPV6 > +int acl_check(const char *aclname, const struct sockaddr_in *addr) > +{ > + struct acl_t *tmp; > + int aclchk, addrchk; > + > + tmp = acl_head; > + while (tmp != NULL) { > + if (!strcmp(tmp->name, aclname)) { > + aclchk = tmp->addr & tmp->mask; > + addrchk = ntohl(addr->sin_addr.s_addr) & tmp->mask; > + > + if (aclchk == addrchk) > + return 1; /*...
2007 Jan 06
3
Re: [nut-commits] svn commit r708 - in trunk: . clients server
...; + return(0); > + } > +} > > /* see if <addr> matches the acl <aclname> */ > -int acl_check(const char *aclname, const struct sockaddr_in *addr) > +int acl_check(const char *aclname, const struct sockaddr_storage *addr) > { > struct acl_t *tmp; > - int aclchk, addrchk; > > tmp = acl_head; > while (tmp != NULL) { > - if (!strcmp(tmp->name, aclname)) { > - aclchk = tmp->addr & tmp->mask; > - addrchk = ntohl(addr->sin_addr.s_addr) & tmp->mask; > - > - if (aclchk == addrchk) > - return 1; /*...
2015 Sep 03
2
Fuzzing complex programs
On Thu, Sep 3, 2015 at 6:45 PM, Kostya Serebryany <kcc at google.com> wrote: > Did you build the Postgres code with -fsanitize-coverage=... ? Yes: CC = clang CFLAGS = -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -Wno-unused-command-line-argument -g -O0 -fsanitize=address
2015 Sep 03
2
Fuzzing complex programs
...rchive.o access/transam/xlogfuncs.o > access/transam/xloginsert.o access/transam/xlogreader.o > access/transam/xlogutils.o bootstrap/bootparse.o bootstrap/bootstrap.o > catalog/catalog.o catalog/dependency.o catalog/heap.o catalog/index.o > catalog/indexing.o catalog/namespace.o catalog/aclchk.o > catalog/objectaccess.o catalog/objectaddress.o catalog/pg_aggregate.o > catalog/pg_collation.o catalog/pg_constraint.o catalog/pg_conversion.o > catalog/pg_depend.o catalog/pg_enum.o catalog/pg_inherits.o > catalog/pg_largeobject.o catalog/pg_namespace.o catalog/pg_operator.o > c...