пт, 7 мая 2021 г. в 03:42, Aurélien Aptel <aaptel@xxxxxxxx>: > > Paulo Alcantara <pc@xxxxxx> writes: > > @mountpointp is initially set to a statically allocated string in > > main(), and if we fail to update it in acquire_mountpoint(), make sure > > to set it to NULL and avoid freeing it at mount_exit. > > > > This fixes the following crash > > > > $ mount.cifs //srv/share /mnt/foo/bar -o ... > > Couldn't chdir to /mnt/foo/bar: No such file or directory > > munmap_chunk(): invalid pointer > > Aborted > > LGTM > > Reviewed-by: Aurelien Aptel <aaptel@xxxxxxxx> > > Cheers, > -- > Aurélien Aptel / SUSE Labs Samba Team > GPG: 1839 CB5F 9F5B FB9B AA97 8C99 03C8 A49B 521B D5D3 > SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg, DE > GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 247165 (AG München) > Merged. Thanks! -- Best regards, Pavel Shilovsky