Mailinglist Archive: opensuse-bugs (3354 mails)

< Previous Next >
[Bug 981522] sessreg Module experiences buffer overflow at high UID
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sat, 28 May 2016 10:41:55 +0000
  • Message-id: <bug-981522-21960-scyqsMeR3r@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=981522
http://bugzilla.opensuse.org/show_bug.cgi?id=981522#c10

--- Comment #10 from Egbert Eich <eich@xxxxxxxx> ---
(In reply to Stefan Dirsch from comment #8)
Hmm. So Reinhard Henning is Herbert Kütz? I've found three lseek() calls in

Reinhard has contacted my by email, I've only added the information releant to
this ticket here. The developer who found the fix for the problem at hand was
Herbert Kütz.

the sources. Also lseed64() manual page tells me one needs a

#define _LARGEFILE64_SOURCE

before

#include <sys/types.h>

So no Reviewed-by from my side at this moment. ;-)

This may be done already thru some header. For convenience there is an autoconf
macro which takes care of it. This macros has been used already however it was
useless as the code still used casts to long.
With this macro it should be fine to use off_t and lseek() as it checks for any
needed compiler flags so that these can deal with 'largefiles'.
I've fixed all occurrences of lseek() in my test package.

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >
References