Logo white

Peter M. Groen / libmodbus

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 855
  • Compare
  • Branches 1
  • Tags 0
  • libmodbus
  • src
21 Oct, 2014
1 commit
  • Don't flush on illegal address errors in single write functions ...
    0c131f83
    This change has introduced by 83c34102.
    Fix unit tests on some systems.
    Stéphane Raimbault authored
    2014-10-21 08:31:59 +0200  
    Browse Dir »

12 Oct, 2014
1 commit
  • Prefix hexadecimal values with 0x to avoid confusion
    9c809805
    Stéphane Raimbault authored
    2014-10-12 02:38:34 +0200  
    Browse Dir »

13 Jun, 2014
1 commit
  • Fix remaining GPLv3 header (closes #221)
    d4851efd
    Stéphane Raimbault authored
    2014-06-13 21:46:08 +0200  
    Browse Dir »

09 Apr, 2014
3 commits
  • Move check of device earlier to avoid a free call
    d8881ea1
    Stéphane Raimbault authored
    2014-04-09 12:39:54 +0200  
    Browse Dir »
  • Unit test for baud rate check and error message
    93a05986
    Stéphane Raimbault authored
    2014-04-09 12:35:38 +0200  
    Browse Dir »
  • Fix crash modbus_new_rtu when baud is 0
    b7ed06a4
    Daniel Schürmann authored
    2014-04-09 12:19:35 +0200  
    Browse Dir »

01 Mar, 2014
1 commit
  • Removed function prototype without implementation ...
    931364f6
    Function modbus_receive_from has no implementation in the library and is not used anywhere.
    AndreySV authored
    2014-03-01 13:47:22 +0100  
    Browse Dir »

21 Feb, 2014
1 commit
  • Fix remote buffer overflow vulnerability on write requests ...
    83c34102
    Protects against crafted write requests with a large quantity but a small
    byte count. If address + quantity was in the mapping space of the server
    and quantity greater than the response size, it was possible to crash
    the server.
    
    The sleep/flush sequence improves the handling of following requests.
    Stéphane Raimbault authored
    2014-02-21 11:51:56 +0100  
    Browse Dir »

30 Jan, 2014
1 commit
  • Avoid twice connect() in source code (closes #194)
    29851c2f
    Stéphane Raimbault authored
    2014-01-30 00:52:40 +0100  
    Browse Dir »

28 Jan, 2014
3 commits
  • Fix TCP IPv4 modbus_connect() on win32 (closes #100 and #165) ...
    706fa6b2
    Thank you Petr Gladkiy and MarjanTomas.
    Sorry for the delay...
    Stéphane Raimbault authored
    2014-01-28 22:46:11 +0100  
    Browse Dir »
  • Fix 24a05ebd3c0 - win32: init of modbus_tcp_pi_listen (#187)
    7272fb09
    Stéphane Raimbault authored
    2014-01-28 22:39:25 +0100  
    Browse Dir »
  • INADDR_* macros are defined in host byte order ...
    270f02c8
    From Michael Heimpold:
    Just a nitpick: the INADDR_* macros are defined in host byte order,
    compare INADDR_LOOPBACK. So it would be reasonable to wrap this with
    htonl(INADDR_ANY). However, every experienced socket programmer should
    know that INADDR_ANY equals 0.0.0.0, passing it through htonl does not
    have any effect.
    Stéphane Raimbault authored
    2014-01-28 22:14:07 +0100  
    Browse Dir »

15 Jan, 2014
2 commits
  • Filter of IP addresses in IPv4 server (closes #190) ...
    c1665d40
    - protect against NULL IP address BTW
    - update documentation
    Stéphane Raimbault authored
    2014-01-15 23:33:20 +0100  
    Browse Dir »
  • Allow to listen any hosts in IPv6 (closes #32) ...
    8f1cc7b3
    - allow an empty string or NULL for node argument
    - protect against NULL in service argument
    - new test for NULL service
    - update documentation
    Stéphane Raimbault authored
    2014-01-15 23:33:20 +0100  
    Browse Dir »

09 Jan, 2014
1 commit
  • win32: init of modbus_tcp_pi_listen (#187)
    24a05ebd
    Stéphane Raimbault authored
    2014-01-09 10:40:18 +0100  
    Browse Dir »

13 Dec, 2013
2 commits
  • Initialize device argument to NULL on malloc (closes #184)
    55bd5054
    Stéphane Raimbault authored
    2013-12-13 18:58:17 +0100  
    Browse Dir »
  • Compiling with -Werror=pendantic produces an error (closes #183)
    92266137
    Stéphane Raimbault authored
    2013-12-13 15:11:11 +0100  
    Browse Dir »

11 Dec, 2013
1 commit
  • MinGW make type warning in modbus-rtu.c (closes #181) ...
    5e934759
    Thanks to Marjan Tomas
    Stéphane Raimbault authored
    2013-12-11 14:24:08 +0100  
    Browse Dir »

04 Dec, 2013
1 commit
  • Fix bswap macros for Microsoft Visual Studio C 2006 or newer
    017ffb30
    oldfaber authored
    2013-12-04 22:17:23 +0100  
    Browse Dir »

26 Nov, 2013
1 commit
  • Define and public export of MODBUS_MAX_PDU_LENGTH (closes #167)
    d39fc1f8
    Stéphane Raimbault authored
    2013-11-26 19:34:55 +0100  
    Browse Dir »

25 Nov, 2013
1 commit
  • Truncate data from response in report_slave_id to new max arg (closes #167) ...
    52a82f8c
    Change API of function for libmodbus v3.2.0
    Stéphane Raimbault authored
    2013-11-25 21:47:23 +0100  
    Browse Dir »

20 Nov, 2013
1 commit
  • Fix response timeout modification on connect (closes #80) ...
    56653068
    Thanks to Perry Kundert for bug report and initial patches.
    Stéphane Raimbault authored
    2013-11-20 09:57:45 +0100  
    Browse Dir »

19 Nov, 2013
3 commits
  • Add const on timeval argument on Windows internal API
    bf060ff2
    Stéphane Raimbault authored
    2013-11-19 18:05:20 +0100  
    Browse Dir »
  • Add check for protocol identifer in TCP mode
    6bc39ad9
    Stéphane Raimbault authored
    2013-11-19 18:04:51 +0100  
    Browse Dir »
  • Fix typo in message. Thanks to Perry Kundert.
    ad4623c0
    Stéphane Raimbault authored
    2013-11-19 17:29:51 +0100  
    Browse Dir »

14 Nov, 2013
1 commit
  • Change timeout to uint32 and add 3 byte timeout tests ...
    c4f7a242
    - add byte timeout tests (TCP backend only)
    - update and improve documentation
    - long timeout values are now uint32_t so it changes the API
      to disable byte timeout
    Stéphane Raimbault authored
    2013-11-14 00:31:02 +0100  
    Browse Dir »

12 Nov, 2013
2 commits
  • Change syscall to flush serial buffer on Windows (closes #144) ...
    8dc4e2e5
    Thank you AlexMaz.
    Stéphane Raimbault authored
    2013-11-12 22:32:51 +0100  
    Browse Dir »
  • Avoid to use reserved identifiers for header names (closes #157) ...
    d06a3eea
    https://www.securecoding.cert.org/confluence/display/seccode/DCL37-C.+Do+not+declare+or+define+a+reserved+identifier
    Not applied to libmodbus constants for now...
    Stéphane Raimbault authored
    2013-11-12 22:14:31 +0100  
    Browse Dir »

07 Nov, 2013
1 commit
  • Fix C compiler compliance error
    184c489c
    Stéphane Raimbault authored
    2013-11-07 13:16:00 +0100  
    Browse Dir »

31 Oct, 2013
1 commit
  • New API for set/get response and byte timeouts ...
    ea80f740
    - update documentation
    - 5 new tests
    - updated NEWS file
    - avoid include of time.h
    Stéphane Raimbault authored
    2013-10-31 00:42:20 +0100  
    Browse Dir »

23 Oct, 2013
1 commit
  • Export Modbus function codes supported by libmodbus
    8941a84c
    Stéphane Raimbault authored
    2013-10-23 23:33:36 +0200  
    Browse Dir »

21 Oct, 2013
1 commit
  • Check debug flag in RTU code
    d928314a
    Stéphane Raimbault authored
    2013-10-21 12:42:04 +0200  
    Browse Dir »

10 Oct, 2013
3 commits
  • Remove warnings caused by shadowed 'index' variable ...
    074ba153
    The index variable shadowed a variable in the standard library causing
    warnings. Renaming the 'index' variable to 'idx' resolves the issue.
    Åke Forslund authored
    2013-10-10 19:50:59 +0200  
    Browse Dir »
  • Use accept4 in TCP PI if available
    5c9598fb
    Stéphane Raimbault authored
    2013-10-10 19:44:52 +0200  
    Browse Dir »
  • Add documentation for tcp[_pi]_accept (closes #31)
    2076d11f
    Stéphane Raimbault authored
    2013-10-10 19:44:41 +0200  
    Browse Dir »

03 Oct, 2013
1 commit
  • Fix remote buffer overflow vulnerability (closes #25, #105) ...
    fc73565d
    It's strongly recommended to update your libmodbus library if you
    use it in a slave/server application in a not trusted environment.
    
    Debian package of libmodbus 3.0.4 already contains a patch to
    mitigate the exploit but the patch isn't as strong than this one.
    Stéphane Raimbault authored
    2013-10-03 20:06:51 +0200  
    Browse Dir »

23 Sep, 2013
1 commit
  • Fix indentation of Windows code
    1224ec64
    Stéphane Raimbault authored
    2013-09-23 22:59:36 +0200  
    Browse Dir »

13 Sep, 2013
1 commit
  • Fix receiving of incorrect queries in write_single and mask_write_register ...
    2c132b04
    Thank you very much James Nutaro.
    Stéphane Raimbault authored
    2013-09-13 16:20:21 +0200  
    Browse Dir »

09 Sep, 2013
1 commit
  • Minor comment improvements
    558538ab
    Stéphane Raimbault authored
    2013-09-09 00:02:25 +0200  
    Browse Dir »

08 Sep, 2013
1 commit
  • Constant for broacast and test ordering
    1e288713
    Stéphane Raimbault authored
    2013-09-08 23:42:30 +0200  
    Browse Dir »