[Samba] Incorrect pointers arithmetic in the PRINTER_ENUM_VALUES structure when calling Samba.

Slava Leizerovich (vleizero) vleizero at cisco.com
Wed Dec 6 12:47:49 GMT 2006


Thanks.

I approached Jerry directly in parallel a couple of days ago and waiting
for his answer on this. 

Will keep you updated on this issue.

Slava.

-----Original Message-----
From: Volker Lendecke [mailto:vlendec at SerNet.DE] On Behalf Of Volker
Lendecke
Sent: Wednesday, December 06, 2006 1:22 PM
To: Slava Leizerovich (vleizero)
Cc: samba at lists.samba.org
Subject: Re: [Samba] Incorrect pointers arithmetic in the
PRINTER_ENUM_VALUES structure when calling Samba.

On Wed, Dec 06, 2006 at 11:56:12AM +0100, Slava Leizerovich (vleizero)
wrote:
> Just to explain myself a bit more:
> I can see in the trace all relevant data, but once it processed by
> windows EnumPrinterDataEx, the resulting buffer (I inspect its
contents
> in the MSDEV debugger) contains actual offset values for the pointers
> variables instead of correct memory addresses.
> If I do the pointers calculations by myself, the relevant data is in
> place and valid in the buffer.

Ok, I'll have to delegate this to Jerry (sorry), this is a
bit beyond me at this moment. Jerry, I can send you the
capture and screenshots if you need it.

Volker


More information about the samba mailing list