r5084: - handle arbitrary data in the NULL record reply type for nbt name queries
[samba.git] / source / librpc / ndr / libndr.h
index 7070ae80ec36df6d05fe68d688e82b4d1ed56023..5485c232b42e5d5d2c8d91b6b2bcc557ca2f0ba9 100644 (file)
@@ -185,7 +185,7 @@ enum ndr_err_code {
                } \
                ndr->offset = (ndr->offset + (n-1)) & ~(n-1); \
        } \
-       if (ndr->offset >= ndr->data_size) { \
+       if (ndr->offset > ndr->data_size) { \
                return ndr_pull_error(ndr, NDR_ERR_BUFSIZE, "Pull align %u", n); \
        } \
 } while(0)