Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 Jun 2011 12:03:03 +0200
From: Szabolcs Nagy <>
Subject: passwd/getgrent_a.c bug

__getgrent_a is wrong when *nmem==0
    mem[0][0] = mems;
    mem[0][1] = 0;
the correct behaviour is probably
    mem[0][0] = 0;

i made the allocated buffer bigger but i'm not sure
if that's the right fix

View attachment "grent.diff" of type "text/x-diff" (440 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.