aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osc/packOSC.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/osc/packOSC.c b/osc/packOSC.c
index 8af8770..63714a8 100644
--- a/osc/packOSC.c
+++ b/osc/packOSC.c
@@ -434,6 +434,8 @@ static void packOSC_sendtyped(t_packOSC *x, t_symbol *s, int argc, t_atom *argv)
for (; k < nArgs; ++k)
{
args[k] = packOSC_blob(&argv[k+2]);
+ /* Make sure it was blobbable */
+ if (args[k].type != BLOB_osc) goto cleanup;
}
}
else if (!(c == 'T' || c == 'F' || c == 'N' || c == 'I')) /* not no data */