[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 27a9c7: Fix potential buffer overrun in UNIX file plugin

GitHub noreply at github.com
Fri May 26 21:30:07 UTC 2017


  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 27a9c75c56e0cb9547721eb39f33cd754f92ccbd
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/27a9c75c56e0cb9547721eb39f33cd754f92ccbd
  Author: Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>
  Date:   2017-05-26 (Fri, 26 May 2017)

  Changed paths:
    M platforms/unix/plugins/FilePlugin/sqUnixFile.c

  Log Message:
  -----------
  Fix potential buffer overrun in UNIX file plugin

Note: this is a minimal fix for the bug reported by Monty
http://forum.world.st/Please-review-and-merge-A-commit-to-fix-race-conditions-is-sqFileOpen-buffer-overflows-in-sqUnixFilee-td4920046.html
The patch provided by Monty was much more aggressive - see PR #82
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/82
Nobody had enough energy to review all implications, thus the minimalist replacement.




More information about the Vm-dev mailing list