| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When PIDL calls out to C preprocessor to expand IDL files
and parse the output, it filters out linemarkers and line control
information as described in http://gcc.gnu.org/onlinedocs/cpp/Preprocessor-Output.html
and http://gcc.gnu.org/onlinedocs/cpp/Line-Control.html#Line-Control
With gcc 4.8 stdc-predef.h is included automatically and linemarker for the
file has extended flags that PIDL couldn't parse ('system header that needs to
be extern "C" protected for C++')
Thanks to Jakub Jelinek <jakub@redhat.com> for explanation of the linemarker format.
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=906517
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 6ba7ab5c14801aecae96373d5a9db7ab82957526)
Signed-off-by: Andreas Schneider <asn@samba.org>
Fix bug #9636 - pidl can't parse new linemarkers in preprocessor output.
(cherry picked from commit 643571470f2e4cd2f58bd60ac7189abb826d33cc)
|
|
|
|
|
|
|
| |
This option allows to skip struct elements in pull and push function.
This can be used to pass flags to the structure e.g. for string values.
Reviewed-by: Günther Deschner <gd@samba.org>
|
|
|
|
|
|
|
|
| |
metze
The last 8 patches address bug #8815 (PIDL based autogenerated code allows
overwriting beyond of allocated array; CVE-2012-1182).
(cherry picked from commit 0b9d59d256a74594e89467e5ebe4e62c25c9572e)
|
|
|
|
|
| |
metze
(cherry picked from commit 3e0e6f56a671b40b21c37838ff292fe8902889bb)
|
|
|
|
|
| |
metze
(cherry picked from commit e94415cf237d1e434daa5da70e6df0b4b6926bae)
|
|
|
|
|
| |
metze
(cherry picked from commit 25f68811af3399c6148fa5d31d932465e27a2125)
|
|
|
|
|
|
|
|
|
|
| |
elements (bug #8815 / CVE-2012-1182)
An anonymous researcher and Brian Gorenc (HP DVLabs) working
with HP's Zero Day Initiative program have found this and notified us.
metze
(cherry picked from commit 8e99484dec90690ec1e00c17580150278963e063)
|
|
|
|
|
| |
metze
(cherry picked from commit dc9c68c8992db8225c93043757c4d33b8814c428)
|
|
|
|
|
| |
metze
(cherry picked from commit d15b71523d228f78f317f44181900dbf10b52e33)
|
|
|
|
|
| |
metze
(cherry picked from commit 94622cea2b2f4914b4ced35e952680c20cc4985b)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to_null specifies that character conversion should only occur until the
null pointer in an array based string.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Jan 14 00:51:54 CET 2012 on sn-devel-104
The last 5 patches address bug #8606 (Intermittent print job failures caused by
character conversion errors).
|
|
|
|
|
|
| |
Compile into a ndr_pull_charset_to_null call.
Signed-off-by: Jeremy Allison <jra@samba.org>
|
|
|
|
|
| |
Guenther
(cherry picked from commit 9115615663edf82afde5a3c934b53d53a0e508f0)
|
|
|
|
|
|
| |
We want the file:line: information displayed.
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
We don't support pipe at the dcerpc level yet.
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
| |
These are mapped to uint64_t, which should be big enough. This is
proposed to be used for internal Samba representations, where it would
be more painful to convert all the callers to an uint64_t calling
convention.
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
This reverts commit 187f695469071d0550613e037b36170facb85460.
This is the wrong fix.
metze
|
|
|
|
|
|
|
| |
Guenther and Metze please check !
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Fri Feb 18 18:49:55 CET 2011 on sn-devel-104
|
|
|
|
|
|
|
|
|
|
|
|
| |
pidl needs to know if it is being used within the samba tree or not,
to get the names of some include files right. This adds support for
using pidl in the top level directory of a Samba build
This change also makes it clear that is_intree() is a boolean
function. Previously it returned different values for Samba3 and
Samba4, but there is nothing that depends on that
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Feb 1 12:13:45 CET 2011 on sn-devel-104
|
|
|
|
|
|
|
|
|
| |
switch type
This doesn't change the logic, it just doesn't call the same aligment function
twice.
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 26 10:59:04 CET 2011 on sn-devel-104
|
|
|
|
|
|
|
|
| |
We need to copy the ptr_count from the ndr_pull struct to the ndr_push struct,
otherwise we'll reuse full pointer ids, which will cause the client to
fail in the ndr unmarshalling.
metze
|
|
|
|
|
|
|
|
|
|
| |
The only consumer "openchange" uses the dcerpc_binding_handle based
functions now.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Fri Jan 21 08:16:25 CET 2011 on sn-devel-104
|
|
|
|
|
|
|
|
|
|
| |
We may add some logic that uses git diff HEAD to detect this changes
in developer mode later again.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan 18 08:10:06 CET 2011 on sn-devel-104
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jan 6 14:34:31 CET 2011 on sn-devel-104
|
|
|
|
|
|
|
| |
autobuild should protect us from having grammar files
and generated files out of sync.
metze
|
|
|
|
|
|
| |
Waf isn't happy when files in the source directory are changed.
metze
|
|
|
|
|
|
|
| |
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Jan 5 11:10:34 CET 2011 on sn-devel-104
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
This is taken from commit 21b0d5e3b10711e6ce3bfad0c1ee2da09a60e232.
metze
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
These are only important for the NDR marshalling
and not for the python bindings.
metze
|
|
|
|
|
|
|
| |
The only special thing is that don't need get_value_of(),
all other checks are needed.
metze
|