1. 19 Jan, 2013 1 commit
    • Mario Speiß's avatar
      ConfigLoadString loses the last character of strings · a63f061b
      Mario Speiß authored
      ConfigLoadString allocates memory for 'size' bytes and copys a NULL terminated
      string to this buffer.
      ConfigSaveString instead expects the buffer to be NULL terminated but:
       - the 'size' saved to the cache is the char count
       - the string is written without terminating NULL.
      
      So obviously ConfigLoadString does not match the behaviour of ConfigSaveString.
      It seems to me that the cached module configuration is not working at all due
      to comparing the module file names within CacheFind - this should never have
      found a match.
      
      I think this would need some more testing.
      
      Regards,
      Mario
      Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
      a63f061b
  2. 18 Jan, 2013 5 commits
  3. 17 Jan, 2013 5 commits
  4. 16 Jan, 2013 2 commits
  5. 15 Jan, 2013 26 commits
  6. 14 Jan, 2013 1 commit