diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-16 03:22:02 +0400 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-16 03:22:02 +0400 |
commit | 458c3937bca9db8402e898227bdac07d36959fee (patch) | |
tree | 76e0734e3b85e5be2c73bcdaa3946664bdf130be /blob.h | |
parent | e9fb256ca51b68e387f7ad536280ad51c6f98047 (diff) |
blob: add a magic offset to nesting cookies to ensure that NULL is never returned as a normal value
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'blob.h')
-rw-r--r-- | blob.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -28,6 +28,8 @@ #include "utils.h" +#define BLOB_COOKIE 0x01234567 + enum { BLOB_ATTR_UNSPEC, BLOB_ATTR_NESTED, |