| Summary: | Integer Overflow and crash in 'js_pushstring' function in jsrun.c | ||
|---|---|---|---|
| Product: | MuJS | Reporter: | op7ic <op7ica> |
| Component: | general | Assignee: | Tor Andersson <tor.andersson> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P4 | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Windows NT | ||
| Customer: | Word Size: | --- | |
|
Description
op7ic
2017-01-23 04:44:38 UTC
Fixed in commit 4006739a28367c708dea19aeb19b8a1a9326ce08 Author: Tor Andersson <tor.andersson@gmail.com> Date: Tue Jan 24 14:42:36 2017 +0100 Fix 697497: Ensure array length is positive. As a side effect when changing to using regular integers (and avoid the nightmare of mixing signed and unsigned) we accidentally allowed negative array lengths. |