summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/cifsd/asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifsd/asn1.c b/fs/cifsd/asn1.c
index 479a9c1fcbbe..846f4e73abbf 100644
--- a/fs/cifsd/asn1.c
+++ b/fs/cifsd/asn1.c
@@ -65,7 +65,7 @@ static bool asn1_oid_decode(const unsigned char *value, size_t vlen,
unsigned long subid;
vlen += 1;
- if (vlen < 2 || vlen > UINT_MAX/sizeof(unsigned long))
+ if (vlen < 2 || vlen > UINT_MAX / sizeof(unsigned long))
return false;
*oid = kmalloc(vlen * sizeof(unsigned long), GFP_KERNEL);