mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-10 09:33:46 +00:00
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
PR 1243 * pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
|
PR 1243
|
||||||
|
* pppd/auth.c (set_allowed_addrs): Remove bogus dereference.
|
||||||
|
|
||||||
2007-04-16 Joel Sherrill <joel@OARcorp.com>
|
2007-04-16 Joel Sherrill <joel@OARcorp.com>
|
||||||
|
|
||||||
PR 1240/filesystem
|
PR 1240/filesystem
|
||||||
|
|||||||
@@ -968,7 +968,7 @@ set_allowed_addrs(unit, addrs, opts)
|
|||||||
} else {
|
} else {
|
||||||
np = getnetbyname (ptr_word);
|
np = getnetbyname (ptr_word);
|
||||||
if (np != NULL && np->n_addrtype == AF_INET) {
|
if (np != NULL && np->n_addrtype == AF_INET) {
|
||||||
a = htonl (*(u_int32_t *)np->n_net);
|
a = htonl (np->n_net);
|
||||||
if (ptr_mask == NULL) {
|
if (ptr_mask == NULL) {
|
||||||
/* calculate appropriate mask for net */
|
/* calculate appropriate mask for net */
|
||||||
ah = ntohl(a);
|
ah = ntohl(a);
|
||||||
|
|||||||
Reference in New Issue
Block a user