1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/lib/talloc/test_magic_differs_helper.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
337 B
C
Raw Normal View History

#include <stdio.h>
#include "talloc.h"
/*
* This program is called by a testing shell script in order to ensure that
* if the library is loaded into different processes it uses different magic
* values in order to thwart security attacks.
*/
int main(int argc, char *argv[]) {
printf("%i\n", talloc_test_get_magic());
return 0;
}