Browse Source
The mod_binascii_a2b_base64() function allocates a buffer which may be too small. It needs to be no less than three-quarters of the input length, but is calculated as (<length> / 4) * 3 + 1, which may be less due to integer division. Changed to (<length> * 3) / 4 + 1. Signed-off-by: Duncan Lowther <Duncan.Lowther@glasgow.ac.uk>pull/11786/head
Duncan Lowther
1 year ago
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue