In theory, a thinner tube in a wider tire will leak air a tad faster on account of being stretched more. A wider tube in a thinner tire will be more prone to getting pinched under the bead during assembly.
Overinflating is a factor of pump application - nothing more. A tube will simply stretch to fill the available space, it has no significant structural strength by itself anyhow.