listhelper-moderate
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnokii-users post from address@hidden requires approval


From: gnokii-users-owner
Subject: gnokii-users post from address@hidden requires approval
Date: Mon, 09 Jul 2007 00:33:36 -0400

As list administrator, your authorization is requested for the
following mailing list posting:

    List:    address@hidden
    From:    address@hidden
    Subject: [PATCH] Limit phonebook to 1000 entries (as on 6131)
    Reason:  Post by non-member to a members-only list

At your convenience, visit:

    http://lists.nongnu.org/mailman/admindb/gnokii-users
        
to approve or deny the request.
--- Begin Message --- Subject: [PATCH] Limit phonebook to 1000 entries (as on 6131) Date: Sun, 8 Jul 2007 21:32:56 -0700
---
 common/phones/nk6510.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/common/phones/nk6510.c b/common/phones/nk6510.c
index 58135f4..e519f8a 100644
--- a/common/phones/nk6510.c
+++ b/common/phones/nk6510.c
@@ -2138,6 +2138,9 @@ static gn_error NK6510_ReadPhonebookLocation(gn_data 
*data, struct gn_statemachi
 
        dprintf("Reading phonebook location (%d)\n", location);
 
+       if (location > 1000)
+               return GN_ERR_INVALIDLOCATION;
+
        req[9] = memtype;
        req[14] = location >> 8;
        req[15] = location & 0xff;
-- 
1.5.2.2




--- End Message ---
--- Begin Message --- Subject: confirm 080199b0df45dee8163d4fdf4ed227008e00e248
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message.  Do this if the message is
spam.  If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list.  The Approved: header can also appear in the first line
of the body of the reply.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]