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

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Dec 6 11:21:30 GMT 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20061206/706d038c/attachment.bin


More information about the samba mailing list