Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2007 23:19:46 +0100
From:      Roman Divacky <rdivacky@freebsd.org>
To:        emulation@freebsd.org
Cc:        des@freebsd.org
Subject:   compat/linprocfs
Message-ID:  <20071124221946.GA74651@freebsd.org>

next in thread | raw e-mail | index | archive | help
hi

in
compat/linprocfs/linprocfs.c:linprocfs_doprocmaps() there's 

        unsigned int last_timestamp;

variable declaration, this variable is used only once in this function:

        if (last_timestamp + 1 != map->timestamp) {

ie. the map->timestamp is compared to some stack garbage + 1. this does not
seem to be correct, the last_timestamp must be set somewhere..

comments?

roman



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071124221946.GA74651>