No description
Find a file
Jeff Epler 8dd4dd34c5 tram.c: Fix pointer arithmetic thinko
Because the type of tram_read_buffer is uint32_t, it's not
appropriate to perform arithmetic on it with the old read size
which is in bytes.

This didn't usually affect hm2 EXCEPT FOR bspi, because bspi
is the only user of the code that reaches hm2_allocate_tram_regions
with the old_tran_read_size being nonzero.

(The analysis is just the same for the case of the write buffers)

For those following along at home, I added the bad code
in cf4f689975 and all 2.7 and master
branches are likely affected.

Closes: #451
2018-07-04 20:41:27 -05:00
app-defaults
bin
configs gscreen sim -This file should not have been here 2018-02-01 09:58:08 -08:00
debian LinuxCNC v2.7.14 2018-06-18 12:25:19 -06:00
docs Docs: add pyvcp example 2018-06-28 11:04:59 -05:00
gnupg
include
lib gladevcp -fix a warning about icon size 2018-03-19 15:28:34 -06:00
nc_files fix paramter/parameter typos all over 2018-01-21 14:49:13 -07:00
rtlib
scripts simulate_probe renaming for err messages 2018-06-24 07:51:52 -07:00
share sim -have gaxis use the theme that was made for it. 2018-07-03 04:19:58 -07:00
src tram.c: Fix pointer arithmetic thinko 2018-07-04 20:41:27 -05:00
tcl fix specifed/specified typos all over 2018-01-21 14:49:14 -07:00
tests Test for bug424 2018-03-19 22:18:59 -05:00
.gitattributes
.gitignore
.travis.yml
COPYING
linuxcnc-wizard.gif
linuxcnc.gif
linuxcnc.xcf
linuxcncicon.png
README
TODO
VERSION LinuxCNC v2.7.14 2018-06-18 12:25:19 -06:00

DISCLAIMER
----------

    THE AUTHORS OF THIS SOFTWARE ACCEPT ABSOLUTELY NO LIABILITY FOR
    ANY HARM OR LOSS RESULTING FROM ITS USE.  IT IS _EXTREMELY_ UNWISE
    TO RELY ON SOFTWARE ALONE FOR SAFETY.  Any machinery capable of
    harming persons must have provisions for completely removing power
    from all motors, etc, before persons enter any danger area.  All
    machinery must be designed to comply with local and national safety
    codes, and the authors of this software can not, and do not, take
    any responsibility for such compliance.


This software is released under the GPLv2, with some parts under the LGPL.
See the file COPYING for more details.


The Build Process
-----------------

Refer to the file 'docs/INSTALL' for information about building and 
running the software.
    

Quickstart
----------

From the top level directory, switch to the source directory:

  cd src

In the source directory, build LinuxCNC:

  [for rtai]
  ./autogen.sh
  ./configure
  [or, for PREEMPT-rt or vanilla kernels:]
  ./autogen.sh
  ./configure --with-realtime=uspace

  make clean
  make
  sudo make setuid

to run the software go back to the top level directory, and issue:

  . scripts/rip-environment
  linuxcnc