1

Topic: Alignment of the size

Somebody in course what for  achieves in the end to semikilobyte in zero?

2

Re: Alignment of the size

See MVOL_write
[spoiler]

UCHAR MVOL_write (const UCHAR c, int* io_cnt, UCHAR ** io_ptr)
{
const UCHAR* ptr;
ULONG cnt = 0;
BurpGlobals* tdgbl = BurpGlobals:: getSpecific ();
const ULONG size_to_write = BURP_UP_TO_BLOCK (*io_ptr - tdgbl-> mvol_io_buffer);

[/spoiler] MVOL reads and writes pieces, multiple BURP_BLOCK which is defined, how 512 byte.
Probably, it was attempt to use  IO (and when-thread it and will be);
Demanding alignment of buffers on sector boundary.

3

Re: Alignment of the size

hvlad wrote:

attempt to use  IO (and when-thread it and will be)

Looks funny in a case when the output goes in stdout or (that the same) on the client
Through services.