See: Https://Zcheng.Ren/sourcecodeanalysis/tiheannotatedredissourcesds/#sdspasentoE5pasentoB0pasento8FpasentoE7pasentoBBpasento93
Here with char buf [], and the reason is not char * buf convenient memory release