Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
base repository: verdammelt/tnef
base: 1.4.17
Choose a base ref
head repository: verdammelt/tnef
compare: 1.4.18
Choose a head ref
  • 8 commits
  • 10 files changed
  • 2 contributors

Commits on Oct 31, 2019

  1. fix strdup() on possibly unterminated string

    Otherwise, a buffer read overflow may happen at
    file.c line 236
    pauldreik committed Oct 31, 2019
  2. fix shift into sign bit

    The intermediate uint8 is implicitly promoted to an int before shifting,
    shifting into the sign bit is undefined behaviour in C.
    
    The compiler does not seem to exploit this, for gcc at least, the
    generated code is identical.
    pauldreik committed Oct 31, 2019
  3. allow the memory limits to be respected strictly

    this relaxes the memory limit check, so one byte extra
    may be allowed, after the check vs the limit the user sets.
    pauldreik committed Oct 31, 2019

Commits on Nov 9, 2019

  1. Merge pull request #41 from pauldreik/paul/undefined_bitshift

    fix shift into sign bit
    verdammelt committed Nov 9, 2019

Commits on Nov 10, 2019

  1. Merge pull request #40 from pauldreik/paul/unterminated_strdup

    fix strdup() on possibly unterminated string
    verdammelt committed Nov 10, 2019
  2. Release 1.4.18

    * Ensure null termination of strdrup (closes #40)
    * Correct bitshifting (loses #41)
    verdammelt committed Nov 10, 2019