Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "afb-api-v3: Fix potential buffer overflow"
[src/app-framework-binder.git]
/
src
/
afb-api-so-vdyn.c
diff --git
a/src/afb-api-so-vdyn.c
b/src/afb-api-so-vdyn.c
index
1734494
..
bb37f0f
100644
(file)
--- a/
src/afb-api-so-vdyn.c
+++ b/
src/afb-api-so-vdyn.c
@@
-15,6
+15,8
@@
* limitations under the License.
*/
* limitations under the License.
*/
+#if defined(WITH_LEGACY_BINDING_VDYN)
+
#define _GNU_SOURCE
#include <stdlib.h>
#define _GNU_SOURCE
#include <stdlib.h>
@@
-59,3
+61,5
@@
int afb_api_so_vdyn_add(const char *path, void *handle, struct afb_apiset *decla
return 1;
}
return 1;
}
+#endif
+