Changeset 1656

Show
Ignore:
Timestamp:
02/02/07 22:12:31 (2 years ago)
Author:
dgollub
Message:

Avoid leaking of sensitive information in trace files of kdepim-sync.
knote stuff was leaking information...
There is still leaking information in the parameter list of
osync_hashtable_functions...
TODO: create hash of notes instead of storing full text in hashtable
(kdepim-sync)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/kdepim/src/knotes.cpp

    r1620 r1656  
    113113static QString strip_html(QString input) 
    114114{ 
    115         osync_trace(TRACE_INTERNAL, "input is %s\n", (const char*)input.local8Bit()); 
     115        osync_trace(TRACE_SENSITIVE, "input is %s\n", (const char*)input.local8Bit()); 
    116116        QString output = NULL; 
    117117        unsigned int i = 0; 
     
    128128                        output += input[i]; 
    129129        } 
    130         osync_trace(TRACE_INTERNAL, "output is %s\n", (const char*)output.stripWhiteSpace().local8Bit()); 
     130        osync_trace(TRACE_SENSITIVE, "output is %s\n", (const char*)output.stripWhiteSpace().local8Bit()); 
    131131        return output.stripWhiteSpace(); 
    132132}